The Artima Developer Community
Sponsored Link

Java Answers Forum
How to fix position of JInternalFrame

1 reply on 1 page. Most recent reply: Apr 14, 2003 7:23 AM by Charles Bell

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Melvin

Posts: 6
Nickname: melvin
Registered: Jan, 2003

How to fix position of JInternalFrame Posted: Apr 13, 2003 9:46 PM
Reply to this message Reply
Advertisement
Hi everybody,

Can anybody please give me some ideas of how I could placed a JInternalFrame at a particular location on the screen permanently, so that user cannot changed its location by dragging it with the mouse.

Any reply would be very much appreciated.

Thanks.


Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: How to fix position of JInternalFrame Posted: Apr 14, 2003 7:23 AM
Reply to this message Reply
reshape
public void reshape(int x,
int y,
int width,
int height)

Moves and resizes this component. Unlike other components, this implementation also forces re-layout, so that frame decorations such as the title bar are always redisplayed.

Flat View: This topic has 1 reply on 1 page
Topic: changing Buttons in program help Previous Topic   Next Topic Topic: Java application in Maximized state

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use