Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j
In directory sc8-pr-cvs1:/tmp/cvs-serv20030/src/org/tn5250j
Modified Files:
Connect.java Gui5250.java
Log Message:
Fixed Connect.java, Fixed Gui5250.java, Added SendScreenToImage-Feature.
Index: Connect.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/Connect.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** Connect.java 9 Jul 2003 18:55:39 -0000 1.11
--- Connect.java 26 Nov 2003 15:07:27 -0000 1.12
***************
*** 26,753 ****
package org.tn5250j;
! import java.awt.*;
! import javax.swing.*;
! import javax.swing.border.*;
! import javax.swing.table.*;
! import javax.swing.event.*;
! import java.awt.event.*;
! import java.util.*;
[...1514 lines suppressed...]
! return -1;
! }
! }
! } else {
! if (one instanceof Comparable
! && two instanceof Comparable) {
! Comparable cOne = (Comparable) one;
! Comparable cTwo = (Comparable) two;
! if (ascending) {
! return cOne.compareTo(cTwo);
! } else {
! return cTwo.compareTo(cOne);
! }
! }
! }
! return 1;
! }
! }
! }
}
Index: Gui5250.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/Gui5250.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** Gui5250.java 24 Nov 2003 12:22:30 -0000 1.48
--- Gui5250.java 26 Nov 2003 15:07:27 -0000 1.49
***************
*** 205,211 ****
private void sendMeToFile() {
new SendScreenToFile(screen);
-
}
/**
* This routine allows areas to be bounded by using the keyboard
--- 205,213 ----
private void sendMeToFile() {
new SendScreenToFile(screen);
}
+ private void sendMeToImageFile() {
+ new SendScreenImageToFile((Session)this);
+ }
/**
* This routine allows areas to be bounded by using the keyboard
***************
*** 584,587 ****
--- 586,590 ----
private void doPopup (MouseEvent me) {
+
JMenuItem menuItem;
Action action;
***************
*** 909,912 ****
--- 912,916 ----
}
};
+
sendMenu.add(createMenuItem(action,MNEMONIC_E_MAIL));
***************
*** 919,922 ****
--- 923,934 ----
sendMenu.add(action);
+ action = new AbstractAction(LangTool.getString("popup.toImage")) {
+ public void actionPerformed(ActionEvent e) {
+ sendMeToImageFile();
+ }
+ };
+
+ sendMenu.add(action);
+
popup.addSeparator();
***************
*** 1230,1234 ****
case 0: // Insert character
String k = "";
! if (((String)hm.getSelectedValue()).length() > 7)
k += ((String)hm.getSelectedValue()).charAt(9);
else
--- 1242,1246 ----
case 0: // Insert character
String k = "";
! if (((String)hm.getSelectedValue()).length() > 8)
k += ((String)hm.getSelectedValue()).charAt(9);
else
-------------------------------------------------------
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.