Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: How to make Jlabel text blink using timer?'

  1. #1
    Member suyog53's Avatar
    Join Date
    Sep 2012
    Location
    Mumbai
    Posts
    37
    My Mood
    Daring
    Thanks
    2
    Thanked 1 Time in 1 Post

    Cool How to make Jlabel text blink using timer?'

    How to make Jlabel text blink using timer?'
    After calling Event of 'Save' button......File is saved and JLabel is set with text as "File Saved Successfully"'
    '
    But for making it more attractive, when JLabel is set with text, it should change its color after a specific interval....BLINKING EFFECT....'
    '
    I am unable to try code for it'
    Plz help..thnx in advance.....'


  2. #2
    Junior Member
    Join Date
    Nov 2012
    Location
    Windsor, Ontario
    Posts
    9
    My Mood
    Bored
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: How to make Jlabel text blink using timer?'

    Here is an example of blinking JLabel, Hopefully it'll give you an idea of what to do then you can play around with it.

    /**code removed*/
    Last edited by jps; November 9th, 2012 at 02:28 AM. Reason: spoonfeeding

  3. #3
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 262 Times in 231 Posts

    Default Re: How to make Jlabel text blink using timer?'

    @MattDelly please read the problem with spoonfeeding.

Similar Threads

  1. passing value and setting it to jlabel text
    By Ibanez1408 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: September 19th, 2012, 07:10 AM
  2. Loop through JLabel and change JLabel
    By JoeBrown in forum What's Wrong With My Code?
    Replies: 2
    Last Post: April 11th, 2012, 12:52 PM
  3. adding text to JLabel during actionPerformed
    By that_guy in forum AWT / Java Swing
    Replies: 1
    Last Post: February 12th, 2012, 03:08 PM
  4. [SOLVED] Is there a way to make things happen if a certain text is entered in a TextField?
    By DusteroftheCentury in forum Java Theory & Questions
    Replies: 25
    Last Post: January 26th, 2012, 07:14 PM
  5. [SOLVED] How to make a more than one line JLabel or drawString for more than one line.
    By javapenguin in forum What's Wrong With My Code?
    Replies: 9
    Last Post: June 4th, 2011, 02:16 PM

Tags for this Thread