• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Specify JNLP applet icon

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I have a large legacy applet that I'm converting to be a JNLP app. This process was nice an simple apart from a few caveats that I've run up against due to the application being based on an JApplet and wondered if you guys knew of a workaround (other than branching the code and making a different JFrame version).

The first problem is that whilst the applet loads via JNLP at the desired size the frame it loads in isn't resizable at all and I don't know how I get access to that fram from within an applet.

The second is that I don't know how to set the icon in the corner of that frame. All the dialogs and frames launched by the applet have their custom icon set fine but I don't know how to set that upon the root JApplet launched by JNLP. The JNLP icon tags don't seem to help (as they specify the splash screen and desktop icons for the app).


would love someone someone to come up with a simple solution to this.



Lloyd
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic