File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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
Author

Running a swing application programmatically (remote classes)

John Sterlingus
Greenhorn

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
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3164
    
  47

"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
Bartender

Joined: May 03, 2008
Posts: 4638
    
    5

Cross posted
http://forums.sun.com/thread.jspa?threadID=5441224


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

Joined: Jul 26, 2007
Posts: 10451
    
    8

Thanks Darryl.

John,
Please read http://faq.javaranch.com/java/BeForthrightWhenCrossPostingToOtherSites


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running a swing application programmatically (remote classes)