Solved

comustomize shpae JFrame

Posted on 2003-11-04
6
266 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
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!

 
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

726 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