• 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

Swing Newbie: I can't get my text to appear

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For my project, I have to have the same thing (lable, picture, 2 buttons) 3 different time and so it was suggested to make a separate class that extends JPanel, write the code for 1 and then call it 3 times.


I am NOT getting any errors, just lack of results.

(I have all correct imports)


Then in my driver class I call


I have a label in my driver class that I add to body at PAGE_END and it shows up. So obviously, my error is within ImagePanel, but i'm extremely confused.

Please help.
 
Toni Howlett
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
After almost an hour of googling... I found someone with a similar problem and what solved it is that I had to put at the end of my ImagePanel class.
 
reply
    Bookmark Topic Watch Topic
  • New Topic