2

I manage to run Swing Explorer stand alone, but would really like to run an Eclipse plugin for it. From what i gather there is a plugin supporting Eclipse 3.2/3.4, but i can't get it to work in Indigo or find a newer plugin for Indigo. Has anyone managed to get it to work or know of a plugin for Indigo? If not, another plugin with the same functionality can be considered.

I have seen mention of JDeveloper having some similar functionality, but that is not a viable option for now, as we are Eclipse based.

Regards, Sam

2
  • Depending on how it goes, you might also want to check out WindowBuilder. It's WindowBuilder from Instantiations, bought out by Google and then Open Sourced at the Eclipse Foundation: eclipse.org/windowbuilder Jun 5, 2012 at 11:32
  • Thanks for this tip. I'll have a look even if i succeed with SE.
    – SamVH
    Jun 6, 2012 at 6:59

2 Answers 2

4

I also use SwingExplorer extensively for debugging, but not the plugin itself. Take a look at how I manage it's launch configuration.

Main-Class

  • org.swingexplorer.Launcher

Program Arguments:

  • org.yourcompany.YourMain

To JVM Arguments I added

  • -javaagent:swag.jar
  • -Xbootclasspath/a:swag.jar
  • -Dswex.mport=63812
  • -Dcom.sun.management.jmxremote

In Classpath

  • 1 new Entry: swexpl.jar (contains org.swingexplorer.Launcher)

The nice thing about this approach is that it doesn't require SwingExplorer plugin, only the jars. You have pretty much functional SwingExplorer with only one feature missing, namely the Jump-to-code in Eclipse, when you click on any trace.

Sidenote: I also use Groovy Console in background wso that I can always easily alter any compoent I want (I wrote a function - inspired by JQuery's selector - to traverse Swing hierarchy). If you're interested I can also write about it in more detail.

1
  • This looks promising. I'll try it as soon as possible. Struggling with some ssl/MD5 troubles for the moment that need to get sorted first.
    – SamVH
    Jun 5, 2012 at 10:39
0

I'm using it in Indigo.

You can get the jar file here.

Just click on the link swexpl-eclipse.zip. you have to enter an email and they'll send you the download link. I haven't found another way, but didn't get any newsletters or something like that by now.

then just follow the install instructions which can also be found on that page. nothing to complicated

3
  • I have the different files, but didn't manage to get it working that way.
    – SamVH
    Jun 6, 2012 at 7:01
  • I tried it again on a personal machine and there i was able to load the plugin. Not sure what the difference is between the machines.
    – SamVH
    Jun 7, 2012 at 9:35
  • The link on this site has been typo-squatted and doesn't look like anything related
    – StephMW
    Dec 12, 2019 at 17:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.