Results 1 to 3 of 3
  1. #1
    timkd127 is offline Member
    Join Date
    Dec 2008
    Posts
    41
    Rep Power
    0

    Default AWT button image

    I have a GUI written with awt and im trying to add an icon to the top of a button but all the icon classes i can find are only compatible with swing. Does any one know of an awt compatible icon object?
    Last edited by timkd127; 03-01-2010 at 04:42 AM. Reason: clarity

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

  3. #3
    timkd127 is offline Member
    Join Date
    Dec 2008
    Posts
    41
    Rep Power
    0

    Default

    Quote Originally Posted by Fubarable View Post
    My question for you is: Why the outdated AWT and not Swing?
    lol, i took a graphics class last semester and we just worked in AWT for some reason. So when i started this project i kinda used AWT not thinking.

Similar Threads

  1. Show image on glasspane while mouse button is down
    By zweibieren in forum AWT / Swing
    Replies: 10
    Last Post: 09-12-2009, 06:29 AM
  2. problem aligning both image/text inside a button
    By rick_cols in forum SWT / JFace
    Replies: 0
    Last Post: 09-18-2008, 08:20 PM
  3. Set focus on image button in swt
    By diva_garg in forum New To Java
    Replies: 3
    Last Post: 08-18-2008, 12:27 PM
  4. Get Focus on Image button
    By diva_garg in forum SWT / JFace
    Replies: 0
    Last Post: 08-08-2008, 11:14 AM
  5. creating an image button when using struts
    By yuchuang in forum Web Frameworks
    Replies: 1
    Last Post: 05-03-2007, 04:48 PM

Posting Permissions

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