| | |
Getting window size
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
To top up what JamesCherrill already said about getting size, to set position you can use methods inherited from Component setLocation(int x,int y) or setLocation(Point p)
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
Join Date: May 2008
Posts: 13
Reputation:
Solved Threads: 0
thanks for the response....
but i really need a solution to align the window borders so tat the newly opened windows will not overlap the current window that is running instead their borders have to be aligned so tat i can view both the windows as in Google Desktop Gadgets.Gotta!!!
I need a help in this .
but i really need a solution to align the window borders so tat the newly opened windows will not overlap the current window that is running instead their borders have to be aligned so tat i can view both the windows as in Google Desktop Gadgets.Gotta!!!
I need a help in this .
Last edited by Kishorey; Apr 30th, 2009 at 8:06 am. Reason: mistake
•
•
Join Date: May 2008
Posts: 13
Reputation:
Solved Threads: 0
hi james,
setLocation gives the location of the window which i'm executing ,so i need the location of the other windows say netbeans i ve opened now so that the netbeans shouldnt overlap the frame or vice versa .,instead it shld align with the frame borders n i shld b able to view both the windows ...
hence i 'm asking how 2 get the location of the netbeans .
setLocation gives the location of the window which i'm executing ,so i need the location of the other windows say netbeans i ve opened now so that the netbeans shouldnt overlap the frame or vice versa .,instead it shld align with the frame borders n i shld b able to view both the windows ...
hence i 'm asking how 2 get the location of the netbeans .
![]() |
Similar Threads
- "Open new window" Window Size - how to change? (Web Browsers)
- How do I make my window the size of the Image? (JavaScript / DHTML / AJAX)
- Prompt window size (C++)
- gnome window size (Window and Desktop Managers)
- IE Problem??......window size (Web Browsers)
- Opening a Web Page in a New Window (Windows tips 'n' tweaks)
Other Threads in the Java Forum
- Previous Thread: help with methods
- Next Thread: Learning Java, need some help with ATM program
| Thread Tools | Search this Thread |
android api applet application apps array arrays automation awt bidirectional binary birt bluetooth busy_handler(null) chat class classes client code columns component constructor database designadrawingapplicationusingjavajslider draw eclipse editor error errors event eventlistener exception expand fractal game givemetehcodez graphics gui guidancer html ide image inetaddress input integer intellij j2me java javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia link linux list loop map method methods mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle parsing plazmic print problem program programming project recursion scanner screen server set sharepoint size smart sms smsspam sort sortedmaps sql string subclass support swing textfield threads time tree unlimited utility webservices windows






