Solved

comustomize shpae JFrame

Posted on 2003-11-04
6
262 Views
Last Modified: 2010-03-31
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
Comment
Question by:th83
  • 3
  • 3
6 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 9678042
you can't

without using JNI

which makes your java app system specific
0
 
LVL 35

Expert Comment

by:TimYates
ID: 9678061
even with JNI...I'm not sure you can :-(
0
 
LVL 92

Expert Comment

by:objects
ID: 9681728
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 35

Expert Comment

by:TimYates
ID: 9685466
of course, if you move the window, or close any of the other windows, the illusion will be destroyed :-(
0
 
LVL 92

Accepted Solution

by:
objects earned 30 total points
ID: 9690759
> if you move the window, or close any of the other windows,
> the illusion will be destroyed

listeners can handle that
0
 
LVL 92

Expert Comment

by:objects
ID: 9718577
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Core Java. What output will be and why ? 6 66
Unable to start eclipse ? 17 134
JAVA part two 5 58
Java - Why doesn't this JFrame work 3 45
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This video teaches viewers about errors in exception handling.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now