• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

UIManager question

 
Ranch Hand
Posts: 99
Android Mac Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
author
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you please expand on what you want to accomplish?
 
Suman Mummaneni
Ranch Hand
Posts: 99
Android Mac Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic