possible setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE) missing
Project: | JNode Core |
Component: | Miscellaneous |
Category: | bug report |
Priority: | normal |
Assigned: | Unassigned |
Status: | patch (code needs review) |
Jump to:
Description
The following Applications do not exit or finish when the window is closed. Tetris was fixed when I mentioned it to Fabien, however the following have the same problem.
AWTDemo, AWTFrameTest, AWTMenuTest, AWTTest, ConsoleTest, ImageTest, JInternalFrameTest, JTableTest, JTreeTest, MouseEventTest, RobotTest, TextFieldTest
- Login to post comments
The patch in 'unified diff'
The patch in 'unified diff' format has been committed. Thanks.
#1
Fixes for AWTDemo.java
#2
Fixes for AWTFrameTest.
AWTMenuTest has already been fixed.
#3
Cleaning up AWTMenuTest it's problems were in the superclass AWTTest.
#4
Fixes for AWTTest
#5
Fixes for ConsoleTest
#6
I believe I have fixes for the rest of the ones I listed. Some needed setDefaultCloseOperation() as they were JFrame, others needed other solutions depending on each case. I also have updates for all the files in org.jnode.test.gui which should bring them all up to v1.5 compatibility.
Is that package named correctly, or should it be org.jnode.gui.test?
#7
Here it is all 32 diffs in one nice and neat file. Sorry about the multiple replies above. I promise never to do that again. I'll find other mistakes to make. This diff includes issues_75 thru issues_79 and 28 more which were not previously posted.
#8
Same diff as last time, hopefull with the correct format, the last one was a "context diff", this project seems to use "unified diff". Sorry for the confusion,
#9
If anyone needs help with Netbeans and JNode, I'm becomming an expert.