• Post Reply Bookmark Topic Watch Topic
  • New Topic

undecorate

 
Brad Murphy
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone!
I would like to create an application that has my own look to it, by setting the JFrame to be undecorated and adding my own minimize and close buttons. Unfortunately when I do that, the application can no longer be dragged around, since there is no title bar for the user to click on to drag. Does anyone know how I can add dragging capabilities?
Any help would be appreciated.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to drag and drop with Java 2
Rockhoppers Java Drag and Drop FAQ.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!