Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j/keyboard/actions
In directory sc8-pr-cvs1:/tmp/cvs-serv23242/src/org/tn5250j/keyboard/actions
Modified Files:
RunScriptAction.java TransferAction.java
Log Message:
Make project use new SessionPopup module
Index: RunScriptAction.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/keyboard/actions/RunScriptAction.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** RunScriptAction.java 9 Jul 2003 18:55:39 -0000 1.3
--- RunScriptAction.java 30 Nov 2003 11:11:08 -0000 1.4
***************
*** 33,36 ****
--- 33,37 ----
import org.tn5250j.Session;
import org.tn5250j.keyboard.KeyMapper;
+ import org.tn5250j.tools.Macronizer;
/**
***************
*** 48,52 ****
public void actionPerformed(ActionEvent e) {
! session.runScript();
}
}
--- 49,54 ----
public void actionPerformed(ActionEvent e) {
! Macronizer.showRunScriptDialog(session);
! session.getFocusForMe();
}
}
Index: TransferAction.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/keyboard/actions/TransferAction.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** TransferAction.java 9 Jul 2003 18:55:39 -0000 1.3
--- TransferAction.java 30 Nov 2003 11:11:08 -0000 1.4
***************
*** 29,36 ****
--- 29,38 ----
import javax.swing.KeyStroke;
import java.awt.event.ActionEvent;
+ import javax.swing.*;
import org.tn5250j.TN5250jConstants;
import org.tn5250j.Session;
import org.tn5250j.keyboard.KeyMapper;
+ import org.tn5250j.tools.XTFRFile;
/**
***************
*** 48,52 ****
public void actionPerformed(ActionEvent e) {
! session.doMeTransfer();
}
}
--- 50,55 ----
public void actionPerformed(ActionEvent e) {
! XTFRFile xtrf = new XTFRFile((JFrame)SwingUtilities.getRoot(session),
! session.getVT(),session);
}
}
-------------------------------------------------------
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.