Drag and Drop files from Applet to Desktop - java

I was wondering how to drag and drop files from a java applet to the desktop. So far i've been able to display all the files with the right icon and name, but I have no clue on how to implement dragging and dropping. BTW I am a noob so it would be great if you could explain things in detail.

I suggest looking at the Java site tutorials:
http://download.oracle.com/javase/tutorial/uiswing/dnd/intro.html

Related

How to run OSX Help Viewer from Java Swing app

When a help topic is clicked on an OSX app's Help menu the so-called Help Viewer loads with the relevant page shown.
How can this be achieved by a Java Swing app?
Traditionally like this:
Application.getApplication().openHelpViewer();
where Application is in com.apple.eawt. To make it work properly the whole application will have to be jarred up and embedded appropriately in an .app structure with the help documents in the right place. The Jarbundler ant task will do this for you.

regarding javafx?

Friends i am trying to develope a desktop application it's requirement is
1.It should have 2 browse button after clicking on that file open box should appear like
jfilechooser in swing
2 Then i have to select that file and require it's url for future use.
3.My application contains just 2 buttons and on clicking on that i want to call a function that compare that file(logic for that i already written)
4.I am using eclipse for that
so overall i can say my application is simple so what should i use javafx or swing for gui?
if any other conveniant option is present please tell me.please give me option which are open source
You could implement it using Swing.
If you want it to be on a variety of devices (desktops, mobile or browsers) then choose JavaFX.
If u require rich look and feel in your application,use JavaFx.Otherwise Swing is also good.

Explorer Panel in Java

does anyone know a free windows explorer type of project written in java?
Basically i just want to implement a simple windows explorer but dont want to start from scratch with all the drag and drops, icon arrangements and so on.
Thanks
See File Browser GUI.
You can explore common navigator framework for eclipse, it would use swt, jface, draw2d. It provides with drag and drop options.

Java chat client GUI advice

I'm looking for some guidance or just ideas here. We designed a basic/small Java chat client/server with a GUI. I'm thinking about developing this a bit further for fun.
I'm hitting a dead end with listing the users though. I would like a nice, clean list of your friends. With online/offline status and so on (even if its just a change in colour of the text). Maybe right click to whisper.
Anyone have any thoughts/ideas to help?
Use a custom JList cell renderer with appropriate JLabel and/or any other swing component. See example here
I did this as my first Java project. My source code and executable are up for downloads.
Here Source and Jar Executable

java ide applet

I'd like to be able to graphically design java web applets like you can do with standard desktop java programs in netbeans...but I can't seem to be able to do that in netbeans. Any ideas on programs, or maybe I'm not doing it right in netbeans. Thanks.
Found it. Add new file, Swing gui forms, jApplet

Categories

Resources