Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2011
    Posts
    4
    Rep Power
    0

    Default Adding variables to JButtons

    Fairly simple question, how do I add a variable to a JButton? I have searched over the internet but cannot find anything.

  2. #2
    Join Date
    Nov 2011
    Posts
    4
    Rep Power
    0

    Default Re: Adding variables to JButtons

    I found the resolution :D

    for anyone who see's these in search on how to do it, this video helped me. Java Programming Tutorial - 62 - JButton - YouTube

Similar Threads

  1. jbuttons
    By sarah jain in forum AWT / Swing
    Replies: 3
    Last Post: 03-16-2011, 08:13 AM
  2. What are Instance variables and static variables?
    By sandeshforu in forum New To Java
    Replies: 3
    Last Post: 09-09-2009, 06:48 PM
  3. Help with JButtons...
    By ashton in forum New To Java
    Replies: 8
    Last Post: 01-26-2009, 10:38 AM
  4. JButtons
    By fgasimzade in forum SWT / JFace
    Replies: 1
    Last Post: 12-25-2007, 06:39 AM
  5. Adding Variables and using Switch
    By notnumber6 in forum New To Java
    Replies: 4
    Last Post: 11-03-2007, 06:45 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •