Solved

comustomize shpae JFrame

Posted on 2003-11-04
6
265 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java exception bubble up 2 21
Java: How do I open the default windows program for a given file type 3 39
jsp insert to database example 2 44
jmss example java 2 23
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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

808 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