aspose file tools*
The moose likes Applets and the fly likes Applet with Theme does not refresh properly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet with Theme does not refresh properly" Watch "Applet with Theme does not refresh properly" New topic
Author

Applet with Theme does not refresh properly

Pt Patel
Greenhorn

Joined: Mar 05, 2009
Posts: 11
Hi,

I made one Applet with JDesktopPane having four JInternalFrame.
I have applied the custom theme to Applet and all the things are fine except the close, minimize and maximize icon and the main icon of the title of the JInternalFrame when the particular InternalFrame is selected.

I have attached the photos for more understanding of the theme effect.

There are two case: ( Note: while the JInternalFrame is selected )
Firefox:
The close, minimize and maximize icon and the main icon does not applied with the theme color very first time. If I reload the browser then it will have the effect of the theme.

IE:
It does not have the effect of theme to the above specified icons even after refresh the browser.

I am facing the second problem related to refresh:
Even though I clear the classloader cache and re-open the browser, it does not have the new applet loaded. I delete the browser history every time.
I tried to use "repaint()" but it didn't work. After repeating two to three times it works.

I tried different ways but doesn't get success yet.

Please give some hints on this issue.

Thanks.




[Thumbnail for InternalFrame_Title_1.GIF]

Pt Patel
Greenhorn

Joined: Mar 05, 2009
Posts: 11
InternalFrame after reload the firefox.


[Thumbnail for InternalFrame_Title_2.GIF]

Pt Patel
Greenhorn

Joined: Mar 05, 2009
Posts: 11

Some one give some hint on this problem....Please............
Pt Patel
Greenhorn

Joined: Mar 05, 2009
Posts: 11

Please give at least some hints or possibilities to give me the direction in some area.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applet with Theme does not refresh properly