Results 1 to 2 of 2
Thread: Need some help with JLabels.
- 08-24-2011, 05:57 PM #1
Member
- Join Date
- Apr 2011
- Posts
- 2
- Rep Power
- 0
Need some help with JLabels.
So I got this these codes:
Is it any how possible to slow the part between add and remove item?Java Code:add(item1); remove(item1); add(item2);
Like I want the text to be visible for let's say 5 seconds, and then remove it so item2 is visible?
I tried use Thread.Wait but it slowed the entire program down by 5 seconds. :(
- 08-24-2011, 07:28 PM #2
Use a Swing Timer.
To get better help sooner, post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem.
db
Similar Threads
-
Overlapping JLabels
By littledrummerboy in forum New To JavaReplies: 4Last Post: 05-24-2011, 04:47 PM -
Need help with JPanels and JLabels
By littledrummerboy in forum New To JavaReplies: 2Last Post: 05-13-2011, 10:43 PM -
Multiline JLabels
By davetheant in forum New To JavaReplies: 3Last Post: 01-21-2011, 01:18 PM -
can i have a JList of Jlabels?
By chayan in forum AWT / SwingReplies: 3Last Post: 07-04-2010, 12:19 AM -
Overlapping JLabels
By techbossmb in forum AWT / SwingReplies: 3Last Post: 09-21-2009, 03:21 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks