• Post Reply Bookmark Topic Watch Topic
  • New Topic

UIManager question  RSS feed

 
Suman Mummaneni
Ranch Hand
Posts: 97
Android Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to know if its a feasible pratice to use the UIManager for loading only icon image when an application starts.

 
Scott Delap
author
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please expand on what you want to accomplish?
 
Suman Mummaneni
Ranch Hand
Posts: 97
Android Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have coded a GUI module for a program. I would like to know if its feasible to use the UIManager.get and UIManager.put methods to load the images for the UI. usally this is stored as a object in the default table as a hashmap. Generally the UIManager's default table is used when there are multiple resources/attributes that are to be loaded for the components. so that these will be avalible to the child windows or you could associate a particualr component with its default colour(back&front) the font and other UI attributes into this table. But what I want to verify is that. Will it be a efficient way to use this to just use for loading only images. Where as this could be easily done by ImageIcon calls in the Main Frame declaration.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!