Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

placing image on jpanel and then add other components  RSS feed

 
john mattucci
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im a little stuck. I want to add an image which takes up the entire screen to a panel which I have done with the aid of a JLabel my problem is adding other components like JButtons or
JTable. I have tried adding the components to a JPanel and then
addind them to the frame but nothing shows how do I do this.
im stuck
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!