File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to minimize/maximize/restore CTabFolder

Thomsun Sriburadej
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm learning to develop SWT application.
I'm quite confused when I created a CTabFolder, added some CTabItem into it and tried to make it minimize/maximize/restore as the way eclipse do.
Document said that developer have to set the property of CTabFolder (setMinimize/setMaximize) manually.
After I set it in the minimize event, it won't minimize immediately.
I have to resize the frame or call pack () method directly to change its status that's not what I want.
Please tell me the correct way to do it ...
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic