Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

undecorate  RSS feed

 
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!