I am writing a java POS application that is loaded with a ton of buttons (used in touch screen environment). Total JButtons(I use setIcon, setPressedIcon, etc) are about 1k throughout the various screens. Memory usage goes over 100MB, does this seem normal?
I currently cache the buttons in order to speed up the application. Furthermore, according to configuration by the user, I will hide / show the buttons and constantly change the icons on the buttons.
I am using Eclipse and TPTP. I see for the memory analysis that "int" is using like 65 MB.
Please someone help!
Thanks [ January 10, 2007: Message edited by: Thomas Mcfarrow ]