Solved

Many JPanels == Slow App?

Posted on 2003-12-04
4
229 Views
Last Modified: 2010-03-31
inside most of my JFrame, i have avarage of 5 JPanels which contains other components such as buttons, label, textfield...

so will this too many JPanel issue will significantly make my application slow?
or need more memory to "load" the panels??
0
Comment
Question by:InNoCenT_Ch1ld
  • 3
4 Comments
 
LVL 92

Expert Comment

by:objects
ID: 9880633
no that should be fine
0
 
LVL 92

Accepted Solution

by:
objects earned 25 total points
ID: 9880653
I have developed applications and applets that would have at least 10x that many panels.
0
 
LVL 4

Expert Comment

by:nil_dib
ID: 9880723
5 is not to much..
complex gui's may have 20 or more panels...
and bear in mind: a panel is nothing more than  a component such as a button, checkbox etc. so what can make your application slow is if you use many components.
but if you have <200 components there should be no significant performance lose...

nil_dib
0
 
LVL 92

Expert Comment

by:objects
ID: 9880815
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now