• Post Reply Bookmark Topic Watch Topic
  • New Topic

Obtaining Current Layout for JPanel  RSS feed

 
sachin pathak
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I have a JPanel instance. I want to check if the layout for this JPanel is set to null or not. How do I check it.
Thanks and regards
Sachin Pathak
 
Idly Vada
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sachin pathak:

I have a JPanel instance. I want to check if the layout for this JPanel is set to null or not. How do I check it.

You can use getLayout() method of JPanel instance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!