This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
When a security manager is added to a Swing program : "System.setSecurityManager(new SecurityManager());" and the program is run again a "status bar" appears at the bottom of the frame mentioning "Java Applet Window". Even when displaying dialogs, tooltips, ... that status bar is added. This makes a mess of the GUI Can this be suppressed (and how) ? (I am working in JDK 1.4) Any tip greatly appreciated
Grant permission java.awt.AWTPermission "showWindowWithoutWarningBanner". I supplied the following policy for my client:The permissions are needed, respectively,
To suppress the applet window warning banner;
To allow the client to connect to the server;
To allow it to open a local database file;
To get Swing working reliably on Windows NT -- not sure why, I had to figure this out the hard way.
In my documentation I pointed out that the policy can be tightened up considerably when more is known about the production environment. Note that unless you download RMI stubs from the server, you don't strictly need a policy file for either client or server. - Peter
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com