• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet with Theme does not refresh properly

 
Pt Patel
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


InternalFrame_Title_1.GIF
[Thumbnail for InternalFrame_Title_1.GIF]
 
Pt Patel
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
InternalFrame after reload the firefox.
InternalFrame_Title_2.GIF
[Thumbnail for InternalFrame_Title_2.GIF]
 
Pt Patel
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Some one give some hint on this problem....Please............
 
Pt Patel
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Please give at least some hints or possibilities to give me the direction in some area.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic