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

SWT ignore GUI Repaint when shell is minimized and maximized

 
anil sehgal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How can i ignore the GUI repaint in SWT when I minimize and then maximize the shell. I have used gc.drawline method to draw some lines in the shell, but the lines are lost when I minimize and maximize the shell. Can anyone please help out.

Thanks,
Anil

 
anil sehgal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had to store every line i make and call drawline method in shell paint listener :P
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!