Solved

comustomize shpae JFrame

Posted on 2003-11-04
6
261 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
Comment Utility
you can't

without using JNI

which makes your java app system specific
0
 
LVL 35

Expert Comment

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

Expert Comment

by:objects
Comment Utility
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 35

Expert Comment

by:TimYates
Comment Utility
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
Comment Utility
> 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
Comment Utility
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
mergeTwo  challenge 13 71
countX 22 69
Eclipse IDE - Cannot copy/paste from console output 8 58
maven project error 5 17
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

744 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

12 Experts available now in Live!

Get 1:1 Help Now