Update of /cvsroot/nextobjects/nextobjects/nextobjects/src/org/devaki/nextobjects/ui/editor
In directory sc8-pr-cvs1:/tmp/cvs-serv28037/src/org/devaki/nextobjects/ui/editor
Modified Files:
SqlEditor.java
Log Message:
Optimize "save" function.
Small checkstyle optimization.
Index: SqlEditor.java
===================================================================
RCS file: /cvsroot/nextobjects/nextobjects/nextobjects/src/org/devaki/nextobjects/ui/editor/SqlEditor.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SqlEditor.java 20 Feb 2003 19:59:27 -0000 1.3
--- SqlEditor.java 24 May 2003 18:50:46 -0000 1.4
***************
*** 39,44 ****
import java.awt.Insets;
import java.awt.event.MouseEvent;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
--- 39,42 ----
***************
*** 88,92 ****
// Text Panes
document = new HighLightedDocument();
! this.jTextPane = new JTextPane(document);
popupmenu = new EditorPopupMenu(jTextPane);
jTextPane.addMouseListener(new MouseInputAdapter() {
--- 86,90 ----
// Text Panes
document = new HighLightedDocument();
! SqlEditor.jTextPane = new JTextPane(document);
popupmenu = new EditorPopupMenu(jTextPane);
jTextPane.addMouseListener(new MouseInputAdapter() {
|