This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Pipeline as Code and have Mohamed Labouardy on-line!
See this thread for details.
Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

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
 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic