Results 1 to 2 of 2
  1. #1
    Shiv is offline Member
    Join Date
    Apr 2009
    Posts
    15
    Rep Power
    0

    Lightbulb Help....Sufferring from Performance realted problem...!

    Hi

    I am doing a project, a java desktop application. I am suffering from performance related problem in proj. Actually there is one jPanel(inside jInternalFrame, which is obvious inside main frame) which contains around 30 labels 30 TextArea fields 2 buttons(huge amount of GUI components placed on that), and it is too large to be fit into a desktop screen. that's why i have used a jScrollpane and placed jPanel on that. But now major problem is whenever i run a project it takes too much time, around 4 to 8 minutes. I think it is just because of huge amount of GUI components are placed in that jPanel which is placed inside jScrollpane & i think that jScrollPane is a lightweight component. But then 4-8 mins is a too much time to load a project. Can you tell me that is there any other way to put a large form inside a fixed (small) area without affecting performance of project.

    In short i want to put a too many swing components inside a fixed area. Is there any other way apart from using jScrollPane?

    What should i do in this case? Plz reply....

    Thanks

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    which contains around 30 labels 30 TextArea fields 2 buttons
    That's not a huge number of components there and shouldn't take a long time to load. Are you having to get data from some source such as a database or an online source? I'll bet that your bottleneck is coming from something else, and not the rendering of the GUI code.

Similar Threads

  1. loop performance (no problem, just investigating)
    By CJSLMAN in forum New To Java
    Replies: 3
    Last Post: 01-18-2009, 03:02 AM
  2. Applet performance problem...
    By pmrenaud in forum Java Applets
    Replies: 0
    Last Post: 01-07-2009, 03:47 PM
  3. Performance Issue
    By hiranya in forum Threads and Synchronization
    Replies: 2
    Last Post: 11-24-2008, 11:32 PM
  4. performance problem on osx
    By coldnebo in forum Advanced Java
    Replies: 3
    Last Post: 08-01-2008, 09:39 PM
  5. how to improve the performance of JWS?
    By dinesh kaushik in forum Java Applets
    Replies: 0
    Last Post: 11-21-2007, 08:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •