• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 274
  • Last Modified:

comustomize shpae JFrame

Well i say a tutoral of making round and any othersahpe windows in Win32.

Can i create any shape JFrame in Java?

If yes plz speceify resources.



TH
0
th83
Asked:
th83
  • 3
  • 3
1 Solution
 
TimYatesCommented:
you can't

without using JNI

which makes your java app system specific
0
 
TimYatesCommented:
even with JNI...I'm not sure you can :-(
0
 
objectsCommented:
You can give the illusion of other shaped windows using a JWindow by taking a snapshot of the screen behind the window and using that as the background to make it appear transparent.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
TimYatesCommented:
of course, if you move the window, or close any of the other windows, the illusion will be destroyed :-(
0
 
objectsCommented:
> if you move the window, or close any of the other windows,
> the illusion will be destroyed

listeners can handle that
0
 
objectsCommented:
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now