Forums Register Login

Embedding X application

+Pie Number of slices to send: Send
hi all,

i want to invoke certain X application from a java program.
when i did using runtime.exec(), but this application appears to
be stand alone..
help me how to embed the X application into java programs..
expecting ur response...
regards,
stp
+Pie Number of slices to send: Send
The "JAWT" AWT Native interface is a semi-standard part of Sun's own JVMs that lets you get ahold of native window handles, and you may therefore be able to use it to do what you want. Here's a nice article on JAWT, and here's Sun's own documentation.
+Pie Number of slices to send: Send
thanks for response..
Actually I want to invoke KDE applications such as Kwrite,etc.,
under linux in Java...This application to be embedded within my
java program...

waiting for response..
thanks and regards,
stp
+Pie Number of slices to send: Send
Ummmm, yeah. So you get the native window handle, and you get the KDE application's window handle, and (I believe!) you can make the application's window a child of the JAWT window. It's tense stuff, and you'd have to know a lot about X, but it's doable.
no wonder he is so sad, he hasn't seen this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 723 times.
Similar Threads
How to run Web Application in ItellijIDEA
retunring value from main()?
Properly adding a servlet and applet combination to a website
remote display java application
problem while launching application using browser
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:01:57.