wood burning stoves 2.0*
The moose likes JDBC and the fly likes Refreshing/repainting JPanel or JtextField Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Refreshing/repainting JPanel or JtextField" Watch "Refreshing/repainting JPanel or JtextField" New topic

Refreshing/repainting JPanel or JtextField

selman Fermitsjelli

Joined: May 04, 2011
Posts: 5

I'm a computing student and I need a little help figering out how to refresh a JPanel or some JTextFields after a JButton has called an ActionListener.
This code will scroll through my database and put every rowinput in a JTextField in another panel.
The question is, whenever I call the JButton while running the program, the JTextFields won't refresh autmatically (I don't think something is wrong with my code)
Is someone able to figure out how to do this for me?

Please note that I'm an intermediate programmer so go easy on me
ps. I know there are some things that I could leave out, like the JTable and some implemented stuff...
I agree. Here's the link: http://aspose.com/file-tools
subject: Refreshing/repainting JPanel or JtextField
Similar Threads
using Dates and times
How to add MouseLsitener to JMenu
MVC pattern
JoptionPane issues
counter is not shown in JTextField