• Post Reply Bookmark Topic Watch Topic
  • New Topic

I had a problem of Window keep dragging alignment issue. Any solutions please..  RSS feed

 
Raghunath Bhairavajosula
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi this is Raghunath and i am trying to drag the window down wards and screen has alignment issues.I tried to use WindowListeners, Component Listeners, MouseListeners ect…


But still this problem persists as only I release the mouse after drag down it appears fine that we have handled ComponentResized() method. So can anyone tell me how to restrict component size while keep dragging down?


Thanks,

Raghunath
Windo DraggingDown Issue.png
[Thumbnail for Windo DraggingDown Issue.png]
Window Drag down issue control alignments are not proper.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

Raghunath Bhairavajosula wrote:...i am trying to drag the window down wards and screen has alignment issues.

You will need to clarify what issues you are facing. Please TellTheDetails
 
Raghunath Bhairavajosula
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If my window is minized or maximized then all my controls should be resized. So that we have done properly now what i am facing issue is keep on dragging my screen downwards then control sizes are Maximized but once we release mouse and stop dragging

that will be taken care by componentresize method. Hope you understood what i said... for your reference i have attached my screen shot in this thread.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What LayoutManager are you using?
 
Raghunath Bhairavajosula
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using GridBagLayout
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post your SSCCE (which we can download on our machine and run)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!