[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another question about GUI.
On Sat, 26 Aug 2000, Shani Mazliach wrote:
> I have a general question regarding creating a GUI: can a program written in
> C++ (under Linux) can have a GUI by using applets? In other words, can I
> write a GUI in java which starts an apllication written in C++ (under
> Linux)?
a GUI in java does not actually need to be written as an applet - it might
as well be written as a normal application - and then it basically has no
limitations.
an applet, by definition, cannot launch any external application (due to
its security limitations) under _normal_ circumstances. however, if the
applet runs under some browser, it may contact some CGI program (or
equivalent) on the web server from which it was downloaded, and that CGI
program can launch any program (written in C++ or any other language).
that program, however, will normally have no GUI...
btw, your questions are somewhat vague - they are too broad to be properly
answered. if you tell us what it is that you're actually trying to do (not
"i want to write a java appelt that launches a C++ program) - what is the
task at hand, from the user's point of view, we might be able to give you
more appropriate answers (and/or recommendations).
guy
"For world domination - press 1,
or dial 0, and please hold, for the creator." -- nob o. dy
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il