Solved

Many JPanels == Slow App?

Posted on 2003-12-04
4
227 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
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…

707 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

11 Experts available now in Live!

Get 1:1 Help Now