Solved

Many JPanels == Slow App?

Posted on 2003-12-04
4
237 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 Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Android studio getdrawable(int) is deprecated 4 120
diffSum example 4 51
eclipse buid path vs tomcat lib path 10 34
Android development question 2 54
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This video teaches viewers about errors in exception handling.

829 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