Menu

#376 somethings wrong with applet window

open
nobody
None
5
2010-04-02
2010-04-02
Anonymous
No

Using the ACM libary I write many programs that run in applets (I'm the author of the Free Java Book at freejavabook.org).

The applet that Dr. Java pops up has a menu bar at the top. This throws off the dimensions of the window.

If I write an expression to detect if an object is at the bottom of the window the expression only evaluates to true if the object is *below* the window by the height of the menu bar. So to make everything run properly completely within the window I have to throw in offsets for the height of the menu bar.

Can you eliminate the menu bar?

thx

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.