cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Unable to use ActionListeners in Java

tfurst
1-Visitor

Unable to use ActionListeners in Java

I am attempting to create some helper plugins for our authors using Java. I made a post earlier this morning outlining that I cannot get 6.0 to see my custom/classes. On another machine I have 6.1, and it does read the custom/classes as advertised. Now I have come to another issue. It seems that the JRE Arbortext uses does not include the awt.event classes? In both my own developed test app, as well as the sample 'TagContent' app, I get this exception in the JavaConsole:

Image 1.png

Line 95 is at the bottom of this image:

Image 2.png

This is the error when attempting to run the sample provided by PTC. If I comment out the lines that call for 'ActionListener' I get no errors. Not sure what the 'correct' way is to use a button in Java Swing within Arbortext.

Any help is much appreciated.

Thank you,

T.F.

0 REPLIES 0
Announcements

Top Tags