Java Interface

Posted on 2005-04-25
Last Modified: 2010-03-31
Hello all.

This might be a weird question but i was wondering if i could use a image (non rectangular) as my GUI

I am looking at creating one of those Desktop friends just wondering if it is possible in java? wanted have say a picture of a face which i can use as my gui? is there a way to create a gui which is an obsecure shape and have a image for the background?
Question by:ex_01
    LVL 92

    Accepted Solution

    Not really, though you can give the illusion of a non rectangular window by taking a snapshot of screen under the window and displaying that as the background of your window. The actual window will still be rectangular but to the user it will appear not to be.
    LVL 24

    Assisted Solution

    You can of course start with JWindow (rectangular but no visible border)
    and put on that a background picture with a transparent background.
    Then you don't realise that it is a gui but think it is just a picture.

    Be aware that people may click on area's where they see the windows of other applications
    while it is still your window they're on.
    I assume that what you want is like the Acrobat 7 splash.
    Yes, you can in JAVA.

    LVL 24

    Expert Comment

    OK with me,

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
    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…
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    737 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

    18 Experts available now in Live!

    Get 1:1 Help Now