OscarLeif / box2d-editor

Automatically exported from code.google.com/p/box2d-editor
0 stars 0 forks source link

JDK 1.7 is used by some methods #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create first rigid body with Bg image, create some polygons
2. create second rigid body with bg image, create some polygons
3. try to move or delete created objects in the left menu

What is the expected output? What do you see instead?
I was hoping I will be able to delete or move created objects. :)

What version of the product are you using? On what operating system?
v2.9.2

Please provide any additional information below.
Windows 7 x64, latest jre

Original issue reported on code.google.com by matsko...@gmail.com on 24 May 2012 at 2:49

GoogleCodeExporter commented 9 years ago
Just select your objects and click on the cross button to delete them or on the 
up/bottom arrow buttons to move them in the list. The buttons are the ones next 
to "new" and "rename" buttons.

If it doesn't work, report it and I'll reopen the issue.

Original comment by aurelien.ribon on 29 May 2012 at 8:36

GoogleCodeExporter commented 9 years ago
I have upload video to YouTube with bug happening. Here is the link: 
http://youtu.be/ah6cc_lbyFY

Hope it helps!

Original comment by matsko...@gmail.com on 29 May 2012 at 4:28

GoogleCodeExporter commented 9 years ago
I can't reproduce the bug on my computer, following the exact same steps as 
shown in the video.
However, since the canvas stopped responding, it seems an uncaught exception 
has been thrown and the libgdx renderer crashed. Can you launch the jar with 
your command line ("java -jar physics-body-editor.jar") and try again? It 
should write the exception in the console so we can see where is the problem.

Original comment by aurelien.ribon on 29 May 2012 at 4:35

GoogleCodeExporter commented 9 years ago
I was able to catch exception. Attached it to the comment.

Original comment by matsko...@gmail.com on 29 May 2012 at 5:02

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks! The bug was due to the use of the 
javax.swing.JList.getSelectedValuesList method, which is only available in JDK 
1.7. I guess you have a 1.6 JDK... :)

I compile with 1.6 compatibility enforced, but I guess Netbeans has some issues 
with that. I'll downlaod the JDK 1.6 to be sure that future developments are 
compatible with it.

Thanks for reporting.

Original comment by aurelien.ribon on 29 May 2012 at 5:08

GoogleCodeExporter commented 9 years ago
Thank you! I appreciate your work on this project! Fell free to mail me. :)

Original comment by matsko...@gmail.com on 29 May 2012 at 5:13