Search code examples
javaperformanceeventsresourcesmessage-pump

pumpevents - customized look and feel java taking too much system resources


I make my own GUI see here but system is taking too much resources on further looking into the issue i have found that java pumpevents method is talking too much time. Any resolutions ???? pump events more detail pump event detail


Solution

  • There are too many objects instantiating in GUI that you have provided. Make some fields static and check before creating that do they already exists...if..then... [Singleton Concept].