From: Olivier G. <og...@us...> - 2008-04-04 22:07:12
|
Update of /cvsroot/osmose-dev/osmose/src/osmose/application/themeeditor In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11829/src/osmose/application/themeeditor Modified Files: OSMThemeEditorFrame.java Log Message: Removed usage of deprecated APIs Index: OSMThemeEditorFrame.java =================================================================== RCS file: /cvsroot/osmose-dev/osmose/src/osmose/application/themeeditor/OSMThemeEditorFrame.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** OSMThemeEditorFrame.java 30 Aug 2005 17:44:24 -0000 1.1.1.1 --- OSMThemeEditorFrame.java 4 Apr 2008 22:07:14 -0000 1.2 *************** *** 45,49 **** public void keyPressed(KeyEvent e) { if(e.getKeyCode() == KeyEvent.VK_ESCAPE) ! hide(); } --- 45,49 ---- public void keyPressed(KeyEvent e) { if(e.getKeyCode() == KeyEvent.VK_ESCAPE) ! hideThis(); } *************** *** 84,89 **** * hides the panel and removes the listener */ ! public void hide() { ! super.hide(); pane.removeKeyListener(this); } --- 84,89 ---- * hides the panel and removes the listener */ ! public void hideThis() { ! super.setVisible(false); pane.removeKeyListener(this); } |