• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

adding a picture

 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You guys..please help me add a picture to this..an imagine....how do I do it???

 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you be more specific? What kind of image do you want to add? How is the image created? Are you drawing it "by hand" or loading a graphic file? Where is the image supposed to be painted?
 
Rose Evans
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just any ol kind of image or icon...and it doesn't matter where it goes on the GUI....I guess I'd like a picture of some vending machine stuff if I could find one...if not...and simple ol smiley face would do.
I'm so lost...and I have until tomorrow at 12 to finish this....I have a darn high B in my class and I am trying so hard to make it an A....dog gone it...I'm so mad I could scream..pout
 
Rose Evans
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OH my goodness...I DID IT!!! I added my own icon....!!! Yahhhhhhhhhhhhhhhhhhhhhhhhhhhhh!!!
Now I have to figure out how to do this text box thingy....oh my!
Any suggestions???

 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to Swing/AWT...
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rose, I am proud of you for trying to do your homework on your own. Too many people come in here and just ask for us to do it for them. However...

Now I have to figure out how to do this text box thingy

How are we supposed to know what *text box thingy* you are trying to achieve. Please be more specific with your questions so that we are better able to help you. If you are getting compile or runtime errors/exceptions post them as well. And preferrably the complete stacktrace if there is one.

Also, in the future, if the initial problem has been solved (Image Icon) and you have a new problem (text box thingy) start a completely new thread. That way we know what we are dealing with when we go in.

Thanks.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
does ur text box thingy is to make ur label to look like a text box ?
Have u tried to add a border to the label ? it may work
 
reply
    Bookmark Topic Watch Topic
  • New Topic