Performance « Development « Java Swing Q&A





1. In what way do many graphical components affect the performance of a Swing GUI?    stackoverflow.com

I've creating a Java Swing application and I realized that I have many many components on a form. It's not that my interface is cluttered, but nevertheless the total amount ...

2. How does Swing handle consecutive changes to the same component?    stackoverflow.com

I'm a little confused about the Swing painting model. Suppose that I have a JComponent comp, and I do something like:

c.setBackground(Color.RED);
c.setBackground(Color.YELLOW);
Obviously, the end result is that the color is yellow. How does Swing ...

3. Poor performance using RMI-proxies with Swing components    stackoverflow.com

I'm having huge performance issues when I add RMI proxy references to a Java Swing JList-component. I'm retrieving a list of user Profiles with RMI from a server. The retrieval itself ...

4. Can JConsole be embedded in a Java application?    stackoverflow.com

can JConsole be embedded in a Java application please? My issue is just similar to mensioned in JavaCoreAPIs list but it is posted in 2007. Has anyone been able to embed ...

5. How to improve the communication time in restlet based applications?    stackoverflow.com

We have a swing UI that is a restlet client. We are accessing the services on the LAN, but the communication is taking a bit long. We are using Tomcat 7.0 ...

6. Swing performance    coderanch.com

I have a pretty massive applet and it's speed is so fast that I can't tell the difference. Of course, I'm running a P3. The AWT is a layer of java on top of the underlying operating system. Even Swing uses some of the AWT, so there is no way around this. But, have you ever tried to develop directly to ...

7. which one is better in terms of performance    coderanch.com

Suppose we have 5 distinct buttons in an UI all of which can generate events. In such case we can --- (1) keep 5 distinct action listener objects to react in 5 different ways when different buttons are pressed. Or, (2) keep one action listener object for those 5 buttons to react in 5 different ways through identifying which button was ...

8. How Program Swing for Long-Term Performance    coderanch.com

One of the biggest concerns with using swing is that over time, the application takes more and more memory. I've noticed this with a lot of swing applications. I know some of it is due to the internal design of the swing components, but I'm guessing there are certain rules we can follow to minimize this. Is there a way to ...

9. Poor performance    coderanch.com

Hi! I'm having som performance problems with a program im writing. The Applet should draw sprites to the screen, but i get very different performance numbers in Windows, Linux and OS X. I'm aiming for about 60FPS, in Linux i get 67FPS, in Windows XP and OS X 10.4 i get about 24-27FPS. Using the exact code and the same computer ...





10. Swing Performance(slow swing)    coderanch.com

Hi everyone, I appreciate anyone who could answer my question. It's quite a general one. We developed a Java program written in swing. It works pretty good on most of our PCs. But we have this particular machine where swing runs very slow. The screen dosen't paint completely when you move the window or even freezes. You could see a hole ...

11. Any performance tips ?    coderanch.com

Hi All, I've hit a point in my app where when I first call .validate() when loading a new panel (it is fairly complex), it takes up to 5 seconds to load.. There must be something I can do to get over this and was wondering if anyone had any ideas, if you are interested then my App flows like this.. ...

12. Need Peter's Opinion and others' for unrevised Swing performance in Tiger    coderanch.com

Hi Ko Ko, Good to hear your views. You are saying that you've seen less than crisp performance on Swing desktop apps in the past, and you are wondering if there are any improvements to Swing performance in Tiger. Well, the answer is a resounding YES, you will no doubt be pleased to hear. Swing performance is markedly improved in Java ...

13. swing look and feel performance    coderanch.com

14. Swing Performance    coderanch.com

Hi, in my application i am using the combo boxs as various filter componens which are loaded with the data fetched from the tables in hashmap and then the hashmap is used to populate the comboboxes. The view takes long time to initailze. Can you help me, how can i tune it.

15. Help....Sufferring from Performance realted problem...!    java-forums.org

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 ...

16. Seems to be okay but something woring in terms of performance (about GUI)    forums.oracle.com

Seems to be okay but something woring in terms of performance (about GUI) Posted: Jul 7, 2008 7:57 AM Reply I have worked on some code on my textbook. I think everything seems to be fine but something is wrong. I tried to figure out this code but unfortunately I couldn't. 'doTraitTest' facilitator doesn't act at all. Please give ...