Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 442250

Summary: Run As Applet: no way to provide parameters, no launch configuration created
Product: [Eclipse Project] JDT Reporter: arne anka <eclipse-bugs>
Component: DebugAssignee: Sarika Sinha <sarika.sinha>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie, sarika.sinha
Version: 4.4   
Target Milestone: 4.5 M2   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Run Config Menu
none
Java Appler Run config
none
Java Applet Run config
none
Java Applet Run config Parameters none

Description arne anka CLA 2014-08-21 07:48:40 EDT
- select an applet class
- right click -> Run As -> Run As Applet
- no way to provide parameters
- running does not create a launch configuration -- hence still no way to provide parameters

Run As Applet should ask for parameters or an HTML file.
And in any case it should create a launch configuration which the user can modify afterwards
Comment 1 Sarika Sinha CLA 2014-08-21 08:02:40 EDT
Run Configurations provide an entry for "Java Applet".

You can provide the command line arguments as you can do for other Java files.
Comment 2 arne anka CLA 2014-08-21 11:32:02 EDT
no, it doesn't.
what happens is exactly what i wrote.
Comment 3 Sarika Sinha CLA 2014-08-22 01:23:51 EDT
Created attachment 246228 [details]
Run Config Menu
Comment 4 Sarika Sinha CLA 2014-08-22 01:24:25 EDT
Created attachment 246229 [details]
Java Appler Run config
Comment 5 Sarika Sinha CLA 2014-08-22 01:24:57 EDT
Created attachment 246230 [details]
Java Applet Run config
Comment 6 Sarika Sinha CLA 2014-08-22 01:26:26 EDT
Created attachment 246231 [details]
Java Applet Run config Parameters

Right Click and Run option does not give the way to provide parameters. For this you can create a new run configuration and provide parameters.
The steps have been attached as an attachment.
Comment 7 arne anka CLA 2014-08-22 04:56:29 EDT
once again. there is NO applet run configuration available.
the node shown in the attachment (Java Applet) is MISSING.
i have both JDT and WTP installed -- and one of them (most likely JDT) should probably provide this entry then? 
anyway. it is NOT there.
Comment 8 Sarika Sinha CLA 2014-08-22 05:04:20 EDT
Can you try this on a plain eclipse SDK and confirm on which Build you are facing this problem ?
Comment 9 Michael Rennie CLA 2014-08-25 09:10:48 EDT
(In reply to arne anka from comment #7)
> once again. there is NO applet run configuration available.
> the node shown in the attachment (Java Applet) is MISSING.
> i have both JDT and WTP installed -- and one of them (most likely JDT)
> should probably provide this entry then? 
> anyway. it is NOT there.

Perhaps the node has been filtered. Arne, could you check your config filtering preferences? They are found on the Preferences > Run/Debug > Launching > Launch Configurations preference page. You can also get to the filtering options right from the launch dialog using the right-most toolbar action - the 'Filter Launch Configurations...' action.
Comment 10 arne anka CLA 2014-09-03 05:38:35 EDT
yepp, it was the filtering. the new theme i use has very hard to read checkmarks.
sorry for the bother