tn5250j/src/org/tn5250j Gui5250.java,1.46,1.47

[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-serv6032/src/org/tn5250j

Modified Files:
	Gui5250.java 
Log Message:
Static method updates

Index: Gui5250.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/Gui5250.java,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** Gui5250.java	11 Nov 2003 08:27:26 -0000	1.46
--- Gui5250.java	11 Nov 2003 08:36:34 -0000	1.47
***************
*** 1110,1114 ****
     public void executeMeMacro(String macro) {
  
!       macros.invoke(macro,(Session)this);
  
     }
--- 1110,1114 ----
     public void executeMeMacro(String macro) {
  
!       Macronizer.invoke(macro,(Session)this);
  
     }
***************
*** 1119,1124 ****
        Frame parent = (JFrame)SwingUtilities.getRoot(this);
  
!       if (macros.isMacrosExist()) {
!          String[] macrosList = macros.getMacroList();
           kc = new KeyConfigure(parent,macrosList,vt.getCodePage());
        }
--- 1119,1124 ----
        Frame parent = (JFrame)SwingUtilities.getRoot(this);
  
!       if (Macronizer.isMacrosExist()) {
!          String[] macrosList = Macronizer.getMacroList();
           kc = new KeyConfigure(parent,macrosList,vt.getCodePage());
        }
***************
*** 1130,1134 ****
     private void stopRecordingMe() {
        if (keyHandler.getRecordBuffer().length() > 0) {
!          macros.setMacro(newMacName,keyHandler.getRecordBuffer());
           System.out.println(keyHandler.getRecordBuffer());
        }
--- 1130,1134 ----
     private void stopRecordingMe() {
        if (keyHandler.getRecordBuffer().length() > 0) {
!          Macronizer.setMacro(newMacName,keyHandler.getRecordBuffer());
           System.out.println(keyHandler.getRecordBuffer());
        }




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
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.