Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to create a window with its own window border other than the local system window border?

963782Jun 14 2013 — edited Jun 20 2013

How to create a window with its own window border other than the local system window border?

For example, a border: a black line with a width 1 and then a transparent line with a width 5. Further inner, it is the content pane.

In JavaSE, there seems to have the paintComponent() method for the JFrame to realize the effect.

This post has been answered by James_D on Jun 15 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 18 2013
Added on Jun 14 2013
12 comments
4,150 views