File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Frame events

 
Anirban dutta
Ranch Hand
Posts: 89
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
Please anybody can tell me how I can trap the resizing of a frame(increasing it's width by dragging and stretching the frame by mouse). I want that the frame should not be resized beyond a specific size. Also how to trap the movement of a frame on the screen.
 
kim jungil
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u can add ComponentListener in the frame, it can receive component events from current component.
And u can use setResizable(boolean resizable).resizable - true if this frame is resizable; false otherwise.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic