tn5250j/src/org/tn5250j Gui5250.java,1.49,1.50

[email protected]
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j
In directory sc8-pr-cvs1:/tmp/cvs-serv20837

Modified Files:
	Gui5250.java 
Log Message:

Make use of the new SessionPopup module


Index: Gui5250.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/Gui5250.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** Gui5250.java	26 Nov 2003 15:07:27 -0000	1.49
--- Gui5250.java	30 Nov 2003 10:54:59 -0000	1.50
***************
*** 70,74 ****
     private boolean doubleClick;
     protected SessionConfig sesConfig;
!    private KeyboardHandler keyHandler;
  
     public Gui5250 () {
--- 70,74 ----
     private boolean doubleClick;
     protected SessionConfig sesConfig;
!    protected KeyboardHandler keyHandler;
  
[...1841 lines suppressed...]
+                JMenu submenu = new JMenu(name);
+                createScriptsMenu(submenu,subvector,1);
+                if(submenu.getMenuComponentCount() == 0) {
+                   submenu.add(LangTool.getString("popup.noScripts"));
+                }
+                menu.add(submenu);
+          }
+       }
+    }
+ 
+    public static class MacroCompare implements Comparator {
+       public int compare(Object one, Object two) {
+          String s1 = one.toString();
+          String s2 = two.toString();
+          return s1.compareToIgnoreCase(s2);
+       }
+ 
+    }
+ 
+ }




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.