If I understood that you want to run a Swing app application from Eclipse.
You can create a startup file, for example:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration type="org.eclipse.jdt.launching.javaApplet"> <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> <listEntry value="/some.zip"/> </listAttribute> <mapAttribute key="org.eclipse.debug.core.preferred_launchers"> <mapEntry key="[debug]" value="org.eclipse.jdt.launching.javaApplet"/> <mapEntry key="[run]" value="org.eclipse.jdt.launching.javaApplet"/> </mapAttribute> <intAttribute key="org.eclipse.jdt.launching.APPLET_HEIGHT" value="905"/> <stringAttribute key="org.eclipse.jdt.launching.APPLET_NAME" value=""/> <mapAttribute key="org.eclipse.jdt.launching.APPLET_PARAMETERS"> <mapEntry key="someEntry" value="5131"/> </mapAttribute> <intAttribute key="org.eclipse.jdt.launching.APPLET_WIDTH" value="1265"/> <listAttribute key="org.eclipse.jdt.launching.CLASSPATH"> <booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/> <stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre"/> <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.some.YourApplet"/> <stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xms256m -Xmx512m"/> </launchConfiguration>
This parameter is suitable for local testing of a swing application.
Or, if you still want to use jnlp, it is also possible to have jnlp with the proper code base, the same as in your bank.
If you have errors when starting jnlp locally, send it.
source share