• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to make a JPanel a readonly component?  RSS feed

 
Krysty Sullivan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! I have a JTabbedPane with tabs which load graph ... how do I make the JPanel displayed by a tab as a read only component so that a user won't be able to do anything on the panel? Thanks!
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of things can the user do on/with the component on the tab now?
 
Krysty Sullivan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The user should just be able to view the contents of the tab, he/she can modify it on the other tabs since the tabs will contain exact copies of what they are loading.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!