Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: RocketDock like with Java

  1. #1
    Junior Member
    Join Date
    Apr 2013
    Posts
    4
    My Mood
    Amused
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb RocketDock like with Java

    Hello everyone,
    i want to know that is it "possible" to make an app like RocketDock with Java
    (if you don't know it check it here )
    i am sure that it's possible to create but can Java do these tasks :

    Run the program in background, but in the same times show a specific icon on the desktop, then by clicking on this icons, a list of files and folders shows up, and when i click on one of them, it open it self "normally" just like you double click on it outside the java program

    i think running in background can be done by setting the visibility of the JFrame to false, and the icons can be related to another Jar file who is executed by the main Jar file, the second one, once it is launched, it creates the needed icon on the desktop which are in reality a buttons of the second Jar, so when i click on them a certain task will happens.
    so for now
    my main problem is how to create GUI outside of the JFrame, i hope i this picture will made sense more than i did
    proto.JPG
    the program here is pikachu and the bubble and there is buttons inside the bubble that allow the user to do stuff
    and as you see, my desktop is kinda full and i think this app will do me a lot of help plus it's a good practice
    i hope i wasn't saying a bunch of crap
    thank you very much for your attention


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,462
    My Mood
    Hungover
    Thanks
    144
    Thanked 639 Times in 547 Posts

    Default Re: RocketDock like with Java

    Break your problem down into much smaller steps. A good place to start might be here: How to Use the System Tray (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Other Swing Features)
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    Apr 2013
    Posts
    4
    My Mood
    Amused
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: RocketDock like with Java

    Quote Originally Posted by KevinWorkman View Post
    Break your problem down into much smaller steps. A good place to start might be here: How to Use the System Tray (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Other Swing Features)
    i don't think that's the "main" problem, i can use a keyboard shortcut to make the frame visible or not and then change settings and stuff like that, what i want is how to create a GUI interface without being framed inside the frame, so it's not in a square or something, if this will make sense more, it's like PNG pictures that don't have a background

    thank you

  4. #4
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,337
    Thanks
    182
    Thanked 830 Times in 773 Posts
    Blog Entries
    5

    Default Re: RocketDock like with Java

    I haven't done this too much myself, but take a look at
    How to Create Translucent and Shaped Windows (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Other Swing Features)

Tags for this Thread