• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Frame shrinks on some machines

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I have an applet and am popping a new frame from inside this applet. The new frame appears to be shrinked in some machines. I have to keep refreshing the browser 2-3 times (to load the applet again and again), then the frame appears correctly.
But it works just fine in some other machines.
1. Has anybody faced similar problem? What's the cause for that?
2. Also the setResizable(false) on that frame works fine on some machines and doesn't (frame will still be resizable) on some machines. What is the cause for all these discrepancies when working with an applet?
Thanks for the help in advance.
Vidya.
 
Saloon Keeper
Posts: 28654
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think that's just browser quirks and you're stuck with them. The Mozilla browser I use is fond of opening popup windows in the same size as their requesters, which is a real pain when the actual content is just a small picture or the Real Player.
It's always good to check the browser dependencies when using JavaScript, since different browsers and different versions react in different ways.
There is, BTW a scripting forum here where people who actually know what they're talking about can help with such questions. I'm just babbling nonsense based on what little I know.
 
Vidya Ram
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the hint Tim. I will try to find about the browser dependencies.
BTW, I have one more problem...
As I said earlier, I'm popping a frame from an applet. I'm doing it basically because I have a toolbar in my applet and so I don't want browser's toolbar. So I just put everything in a frame and pop it out of browser...so the browser will not have anything but a blank gray area.
But the problem now is if I close this browser window, my frame also gets closed. So I have to give a warning to the users not to close the main browser window...is there any way to make my frame not to close though the browser window is closed? Or is there any better way to achieve this?
Thanks,
Vidya.
[ August 27, 2003: Message edited by: Vidya Ram ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic