From: Hiroo H. <hir...@co...> - 2005-01-30 22:42:45
|
I checked in some changes for JSLFrame and JSLDesktop. If you see any problem, let me know. 1. JSLDesktop is not non-static. This makes JSLDesktop more compatible with standard Swing components. JSLDesktop.xxx were replaced by PatchEdit.getDesktop().xxx. 2. deprecate JSLFrame.show() method. show() is deprecated by J2SE 1.5. setVisible() is preferred. Get rid of show() in patch editors. Action.editPatch do the job. 3. move the code for setDefaultLocation() from JSLFrame to JSLDesktop. This reduced some methods for communication between the two classes. And I also disable 'Save' and 'Save As...' menu entries when bank editor is disabled to fix the bug reported last week. -- Hiroo Hayashi |