File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Running a swing application programmatically (remote classes) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Running a swing application programmatically (remote classes)" Watch "Running a swing application programmatically (remote classes)" New topic

Running a swing application programmatically (remote classes)

John Sterlingus

Joined: Jun 04, 2010
Posts: 1
Dear Friends, I have a slightly complicated case where I do not have source code (or the compiled class) of the swing application that I am trying to run automatically.

I will do a series of tasks on this application, press some buttons, click on some parts etc. I want to be able to do this programatically.

Every single swing debugger/robot I have come across wants you to have the class you are launching and the debugger/robot launches together with the class.

Problem here is my application is launched by me launching a JNLP application first, which authenticates me (I have to enter username and password), then runs a bunch of classes on a remote server. And this is the point when the swing application gets lauched.

I want to be at a point where I can now perhaps attach to the swing application and run it programatically. Sorry this seems too complicated, but this is the scenario here...

Perhaps there is no way to do it at all, please tell me so also....if that is the case...

thank you so much...
Devaka Cooray
ExamLab Creator

Joined: Jul 29, 2008
Posts: 3930

"sun Sunny", please check your private messages regarding an important administrative matter.

Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Darryl Burke

Joined: May 03, 2008
Posts: 5115

Cross posted

luck, db
There are no new questions, but there may be new answers.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10836

Thanks Darryl.

Please read

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: Running a swing application programmatically (remote classes)
It's not a secret anymore!