tn5250j/src/org/tn5250j Configure.java,1.12,1.13
Patrick Bielen <[email protected]> Fri, 10 Jun 2005 08:04:10 +0000
| Newsgroups | gmane.comp.java.tn5250j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30870/src/org/tn5250j
Modified Files:
Configure.java
Log Message:
replaced the deprecated show() command in the code.
Index: Configure.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/Configure.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Configure.java 8 Jun 2005 19:32:48 -0000 1.12
--- Configure.java 10 Jun 2005 08:04:07 -0000 1.13
***************
*** 1,672 ****
! /**
! * Title: tn5250J
! * Copyright: Copyright (c) 2001
! * Company:
! * @author Kenneth J. Pouncey
! * @version 0.4
! *
! * Description:
! *
! * This program is free software; you can redistribute it and/or modify
[...1315 lines suppressed...]
! }
! }
!
! public static class SomethingEnteredDocument extends PlainDocument {
!
! public void insertString(int offs, String str, AttributeSet a)
! throws BadLocationException {
!
! super.insertString(offs, str, a);
! if (getText(0, getLength()).length() > 0)
! doSomethingEntered();
! }
!
! public void remove(int offs, int len) throws BadLocationException {
! super.remove(offs, len);
! if (getText(0, getLength()).length() == 0)
! doNothingEntered();
! }
! }
! }
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20