Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Gray color appears before loading JDialog

 
RAVI Kollepara
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I am developing a GUI application for embedded board which is have less resources. While i am showing a JDialog from a Frame it display a gray color screen and then painting the Dialog(Contains some components like JButton, JLabels etc..)
Is there anyway to make JDialog double buffered. Will it work for my problem?
Thanx,
Ravi Kollepara
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35753
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi,
You can add everything to the jdialog before showing it to avoid this affect.
 
RAVI Kollepara
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne ,
I am doing the same. Here the repaint manager is taking time to repaint. Is there any possiblity to make JDialog double buffered?
Thanx,
Ravi
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!