Look at http://www.javazoom.net/jlgui/jlgui.html It's open source.
Emmanuel.
----- Original Message ----- From: "Rob Ross" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 19, 2003 8:31 PM Subject: [JAVA2D] Question about Frames/JFrames
slideOk, this question crosses the Swing/AWT/Java2D divide, but I'll try here first.
Is there any way to create something resembling a "modern day" mp3 player GUI? I'm talking about the way the media players like Quicktime or Windows Media player can switch to a "compact mode" where the player window is non-rectangular shaped, and contains little animated panels that can
in and out to display things like equalizer settings or play lists, etc.if
I think I could figure out how to do the animated panel openings and closings within a JPanel or Component with custom drawing, clipping, and a background thread. But I would have to draw the whole player completely enclosed inside a top-level window, and that would not look very "cool",
you know what I mean. (I have pretty much given up on Inner frames)implement
I just realized that if AWT provided transparent native-windows that could be completely undecorated, I could just put my player in there and any "curves" would be illusions created within the square window, with the appropriate background pixels just made 100% transparent. (If you
this using alpha, you could also probably get translucent windows forfree,
beas transparent is just a special case of translucent where the opacity is 0%)
The only other thing that would be pure gravy is the ability to add additional regions to the "window dragging" handler, since there wouldn't
Ia window title, I'd need something for the user to be able to click on to move the window around the screen. Maybe some call to set a certain color value to be the "hot color" that could be set up as a drag target.
From a strictly native programming point of view, i.e., MFC, Cocoa, etc,
don't think implementing this kind of window behavior is that hard orrisky,
Javayou just have to write a new kind of window definition class for each platform ....a long time ago this would have been a WDEF under Mac OS (pre-X).
Anyway, I'm guessing what I am trying to do can't be currently done in
eh?this
If that's the case, I would suggest maybe evaluating the real benefits
Sunwould provide to Java developers, especially for deploying applications in the consumer space, where these kinds of eye-candy are now common place.
*is* trying to push Java into the consumer mainstream right?===========================================================================
Rob
To unsubscribe, send email to [EMAIL PROTECTED] and include in thebody
of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
