Click here to Skip to main content
16,004,977 members
Home / Discussions / Java
   

Java

 
AnswerRe: Must correct the syntactic and semantic errors Pin
Peter_in_27801-Nov-11 17:29
professionalPeter_in_27801-Nov-11 17:29 
GeneralRe: Must correct the syntactic and semantic errors Pin
TorstenH.1-Nov-11 21:43
TorstenH.1-Nov-11 21:43 
AnswerRe: Must correct the syntactic and semantic errors Pin
TorstenH.1-Nov-11 21:46
TorstenH.1-Nov-11 21:46 
GeneralRe: Must correct the syntactic and semantic errors Pin
Firo Atrum Ventus1-Nov-11 22:28
Firo Atrum Ventus1-Nov-11 22:28 
GeneralRe: Must correct the syntactic and semantic errors Pin
TorstenH.1-Nov-11 23:01
TorstenH.1-Nov-11 23:01 
QuestionFile Explorer Pin
HTT901-Nov-11 2:12
HTT901-Nov-11 2:12 
AnswerRe: File Explorer Pin
TorstenH.1-Nov-11 21:41
TorstenH.1-Nov-11 21:41 
GeneralRe: File Explorer Pin
David Skelly1-Nov-11 23:33
David Skelly1-Nov-11 23:33 
I don't think that's what he's asking.

I think his question is something like: I want to display a pop-up menu which will give the user a list of actions associated with a file type. For example, if the file is a RAR file, I want to display the options associated with Winrar. Think Windows Explorer, you right-click on a file and up pops a menu telling you what you can do with that file.

I'm not sure how you do this from Java since finding the list of actions for a specific file type is OS-specific, and that is always where Java's "run anywhere" approach struggles. The Desktop API gives you some access to this, but it has a limited set of pre-defined actions available and I'm not sure how you add in other actions like zip or unzip (or even if you can).

There was a project on the go at one time called JDIC which aimed to make OS-specific desktop integration a bit easier, but I haven't heard about that for a while. It was basically a series of wrappers around native calls for the main operating systems like Windows and Linux. It might be worth a look, though, if it is still around.
GeneralRe: File Explorer Pin
TorstenH.1-Nov-11 23:57
TorstenH.1-Nov-11 23:57 
GeneralRe: File Explorer Pin
David Skelly2-Nov-11 2:57
David Skelly2-Nov-11 2:57 
GeneralRe: File Explorer Pin
HTT902-Nov-11 6:23
HTT902-Nov-11 6:23 
Questionjava image processing Pin
sagar lachure31-Oct-11 19:41
sagar lachure31-Oct-11 19:41 
AnswerRe: java image processing Pin
Richard MacCutchan31-Oct-11 22:41
mveRichard MacCutchan31-Oct-11 22:41 
QuestionJPanel drawing issues Pin
ExoticmE30-Oct-11 21:35
ExoticmE30-Oct-11 21:35 
AnswerRe: JPanel drawing issues Pin
Richard MacCutchan30-Oct-11 23:57
mveRichard MacCutchan30-Oct-11 23:57 
GeneralRe: JPanel drawing issues Pin
ExoticmE31-Oct-11 0:05
ExoticmE31-Oct-11 0:05 
AnswerRe: JPanel drawing issues Pin
TorstenH.1-Nov-11 21:56
TorstenH.1-Nov-11 21:56 
QuestionJava drawString Pin
Tor Danielsen26-Oct-11 8:07
Tor Danielsen26-Oct-11 8:07 
AnswerRe: Java drawString Pin
Manfred Rudolf Bihy26-Oct-11 9:21
professionalManfred Rudolf Bihy26-Oct-11 9:21 
GeneralRe: Java drawString Pin
Tor Danielsen26-Oct-11 11:06
Tor Danielsen26-Oct-11 11:06 
GeneralRe: Java drawString Pin
bennis9826-Oct-11 18:09
bennis9826-Oct-11 18:09 
GeneralRe: Java drawString Pin
TorstenH.26-Oct-11 20:49
TorstenH.26-Oct-11 20:49 
GeneralRe: Java drawString Pin
Tor Danielsen27-Oct-11 4:34
Tor Danielsen27-Oct-11 4:34 
GeneralRe: Java drawString Pin
Richard MacCutchan27-Oct-11 5:00
mveRichard MacCutchan27-Oct-11 5:00 
GeneralRe: Java drawString Pin
Tor Danielsen27-Oct-11 5:05
Tor Danielsen27-Oct-11 5:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.