Results 1 to 3 of 3
- 05-25-2010, 07:18 AM #1
Member
- Join Date
- Apr 2010
- Posts
- 3
- Rep Power
- 0
JLabel is not refreshed from withing ActionPerformed
I'm running rather complex Swing application. GUI has a status bar at the bottom, which contains JPanel and JLabel inside it . Static bar is a static object.
At some point I'm running search query. 1st I open new JFrame as a search form. After search criteria is entered, child frame performs the DB query within ActionPerformed method. While it is performing the query I would like to display different messages in the MainFrame status bar. This is not happening. I can only see the very last message.
I know it is a vague description. Any clues,help will be greatly appreciated.
Thanks.
- 05-25-2010, 07:22 AM #2
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
You are disrespecting the EDT.
- 05-25-2010, 05:32 PM #3
Member
- Join Date
- Apr 2010
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
Adding a JLabel to a JPanel - jlabel not showing
By Bongeh in forum New To JavaReplies: 17Last Post: 04-06-2010, 11:02 PM -
Help with actionPerformed
By mayhewj7 in forum New To JavaReplies: 8Last Post: 02-10-2009, 06:45 PM -
trouble with actionPerformed
By diggitydoggz in forum New To JavaReplies: 2Last Post: 12-26-2008, 02:18 AM -
Help with actionPerformed Statements
By wco5002 in forum New To JavaReplies: 8Last Post: 03-26-2008, 04:02 AM -
actionPerformed problem
By tomitzel in forum New To JavaReplies: 1Last Post: 01-08-2008, 06:10 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks