From: Remi P. <pno...@us...> - 2003-01-18 10:18:49
|
Update of /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer In directory sc8-pr-cvs1:/tmp/cvs-serv13193/jprojecttimer/de/cgarbs/apps/jprojecttimer Modified Files: AboutWindow.java Log Message: Prevent from editing the About Window text Index: AboutWindow.java =================================================================== RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer/AboutWindow.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AboutWindow.java 23 Nov 2002 21:59:08 -0000 1.2 --- AboutWindow.java 18 Jan 2003 10:18:46 -0000 1.3 *************** *** 64,68 **** BorderLayout.NORTH); ! getContentPane().add(new JScrollPane(new JTextArea(text)), BorderLayout.CENTER); --- 64,70 ---- BorderLayout.NORTH); ! JTextArea aboutText = new JTextArea (text); ! aboutText.setEditable(false); ! getContentPane().add(new JScrollPane(aboutText), BorderLayout.CENTER); *************** *** 72,76 **** pack(); setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); ! setVisible(true); } else { --- 74,78 ---- pack(); setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); ! setVisible(true); } else { |