get java class loader within pathon

B

blueblueblue2005

Hi, I have a java application with a UI compoennt of
FlyoutPaletteComposite (an GEF class), this UI compoennt displays a
scrollbar when needed. I am writing a Jython/Python script, and within
this script, I want to grab the scrollbar and move the bar up and down
to a specified location. I was told to get the class loader of the
compoent, but don't know how to do it. Can anybody kindly help?

Holly
 
D

Diez B. Roggisch

blueblueblue2005 said:
Hi, I have a java application with a UI compoennt of
FlyoutPaletteComposite (an GEF class), this UI compoennt displays a
scrollbar when needed. I am writing a Jython/Python script, and within
this script, I want to grab the scrollbar and move the bar up and down
to a specified location. I was told to get the class loader of the
compoent, but don't know how to do it. Can anybody kindly help?

FlyoutPaletteComposite.getClass().getClassLoader()

Diez
 
D

Diez B. Roggisch

Diez said:
FlyoutPaletteComposite.getClass().getClassLoader()

Oops. That should be

FlyoutPaletteComposite.getClassLoader()

of course. The above should work for an instance of FlyoutPaletteComposite.

Diez
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top