Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 16
Posts: 16   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2735 times and has 15 replies Next Thread
k005
Member



TURKEY
Joined: Aug 6, 2022
Post Count: 47
Status: Offline
Reply to this Post  Reply with Quote 
Re: Volume Plugin

I compiled it again. I copied it to the plugin folder. I ran sweethome3d. But it crashed... when I deleted the volumePlugin I created, it popped up.

I'm making a mistake on a small point, but I haven't found it yet.
[Aug 24, 2022, 9:53:35 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Volume Plugin

A JAR file is actually just a ZIP file. Could you list here its content with a ZIP utility?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Aug 24, 2022, 10:21:22 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
k005
Member



TURKEY
Joined: Aug 6, 2022
Post Count: 47
Status: Offline
Reply to this Post  Reply with Quote 
Re: Volume Plugin

I am adding my work that caused the lock by archiving it. The compiled jar file is also included.


https://www.dosya.tc/server38/u4bxxl/VolumePlugin.rar.html

*****************************************************************





Actually, I just need an icon-shaped starter frame that is placed in the tools menu for now and added to the toolbar. like the frame I gave below.

how should i run it from Sweet Home. I will develop it later.

this will be the map to me...


Thank you.


[Aug 24, 2022, 1:37:15 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Volume Plugin

Your plug-in is correct but you compiled it with a more recent version of Java.
In the properties of your project, change the Compiler compliance level to 1.8.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Aug 24, 2022, 2:18:49 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
k005
Member



TURKEY
Joined: Aug 6, 2022
Post Count: 47
Status: Offline
Reply to this Post  Reply with Quote 
Re: Volume Plugin

Ok. Thank you very much. Worked.

***

Can you send a sample project like in my second question?

I can also go through the volumePlugin... but it has menu placement. There is no toolbar!
[Aug 24, 2022, 2:30:57 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Volume Plugin

You could use the method showInputDialog in JOptionPane class (see tutorial here).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Aug 24, 2022, 5:39:54 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 16   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved