JAVA-INDEX.COM
Java programming resources: FAQs, tutorials, compiler and browser download sites, documentation, books lists, IDEs, etc.
Home....
|
log in....
|
Pub my question!
|
Sign-up....
Java-index
>>
Desktop
>>
Core GUI APIs
Change JTextField on JButton press
I am making a small program, and am trying to change a JTextField's contents on the press of its corresponding JButton. It should count down from a predefined amount of time to 0.
[187 byte] By [
Prejudice182a
] at [2007-11-27 8:20:22]
««
JTextArea - Selected Text > Bold, Ital., Underlined
»»
cursor position recording problem [very simple]
# 1
Add an ActionListener to the JButton and have it's actionPerformed method mutate the JTextField's contents.
dwga
at 2007-7-12 20:08:39 >
# 2
I tried that, but I couldn't even get it to fetch the contents of the text field.Can anyone suggest some sample code?
Prejudice182a
at 2007-7-12 20:08:39 >
# 3
> Can anyone suggest some sample code?better for you to post the code you've tried
Michael_Dunna
at 2007-7-12 20:08:39 >
Desktop
Getting Web Start to use JDK's javaw.exe, not JRE's
Obtener la ruta de un archivo jar desde Java
can someone help me with the expects scripts of SGD?
how can i now which webserver I am running on my SGD?
Problems with Firefox since JRE 6 Update 1
Roadmap for Java 5.0 for Intel Itanium 2 (IA64) platform?
Cannot find application-client.xml
SRSS 4 U 2 prototype in Kiosk mode
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c9010f3, pid=2688, tid=205
Problem while creating JAR file for my swing application
Core GUI APIs
JTextArea - Selected Text > Bold, Ital., Underlined
SindletonCalender
Creating single instance of application
Disabling checkboxes
Problemns with JTree
JTableHeader + TableRowSorter Customization
Swing 101 question
JTextArea problem
Window won't paint.
View Position Not setting properly in JscrollPane
Desktop Hot Topic
Problemns with JTree
JTableHeader + TableRowSorter Customization
Cannot find application-client.xml
Using a layout to add a component on another component
Non-modal JDialog is not painted and blocks the GUI
JTextPane autoscrolling generating sporadic exceptions
JDialog performance issue in jdk 1.5 and jdk 1.6
Does anybody know how can I watch my applet?
problem with findComponentAt highlighting wrong JLabel
Applet and jar
How To Provide More Informative Undo Presentation Names for Document Edits
Problem With cardlayout
Desktop
Core GUI APIs
Deploying
Runtime Environment
Developing for the Desktop
I18N
Sun Secure Global Desktop Software
Sun Java Desktop System
Sun Ray Software - General Discussion
Mozilla Browser For Solaris
All Classified
Archived Forums
Enterprise & Remote Computing
Java Essentials
Desktop
Core
Solaris Operating System
Security
Database Connectivity
Java Mobility Forums
Web & Directory Servers
Development Tools
Application & Integration Servers
Java HotSpot Virtual Machine
Other Topics
E-Mail, Calendar, & Collaboration
Developer Tools
General
Administration Tools
Sun Hardware
Storage Forums
Java Enterprise System
StarOffice
Open Source Technologies
BigAdmin
Real-Time
Java Coding