471,354 Members | 1,603 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

get java class loader within pathon

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

Nov 11 '07 #1
2 1272
blueblueblue2005 schrieb:
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
Nov 11 '07 #2
Diez B. Roggisch schrieb:
blueblueblue2005 schrieb:
>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()
Oops. That should be

FlyoutPaletteComposite.getClassLoader()

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

Diez
Nov 11 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Fu Bo Xia | last post: by
reply views Thread by Ravi Tallury | last post: by
13 posts views Thread by Nicholas Pappas | last post: by
1 post views Thread by jaimemartin | last post: by
12 posts views Thread by brey_maastricht | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.