Recent

Author Topic: java applet (class) in a form  (Read 11229 times)

baba

  • Newbie
  • Posts: 3
java applet (class) in a form
« on: May 05, 2006, 07:10:19 pm »
how can we use a java applet (class) in a form (like in the web page)
thanks for help

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: java applet (class) in a form
« Reply #1 on: May 05, 2006, 11:16:12 pm »
A browser needs a plugin to run such applets.

Similarly it would be necessary to develop a Lazarus component that can interprete java code.

I´m not sure if the plugins interprete the java code itself or if they interprete the bytecode or if they compile it to bytecode and then interprete.

ggeldenhuys

  • Guest
java applet (class) in a form
« Reply #2 on: May 23, 2006, 11:33:46 pm »
If you have the Java runtime installed, you might be able to use the following component I am busy developing.  It is called the Mozilla Plugin Panel.  It is a panel component in Lazarus that can embed Mozilla Plugins and seeing that a Java applet can run as a plugin, it should work.  So far I have managed to get Macromedia Flash and the Adobe plugin working in the Mozilla Plugin Panel.  How it works?  The panel component implements the methods that a normal web browser uses to get a plugin to work.  The panel then fools the plugin to think it is running in a web browser when infact it is running in a custom Lazarus panel.
I still need to setup a web page for it with some screenshots.

In the mean time, to get the source code, you can get it from my SubVersion server as follows:

svn co svn://opensoft.homeip.net/MozillaPluginPanel/trunk MozillaPluginPanel

Hope this can help
Graeme.

Anonymous

  • Guest
java applet (class) in a form
« Reply #3 on: May 24, 2006, 12:53:41 am »
Hi Graeme

I've downloaded your code. Thanks.
The demo compiles and runs, but when I click on "Load" I get an Exception:
Quote
../Plugins/libflashplayer.so: undefined symbol: overrideShellClassRec: ../Plugins/libflashplayer.so

What's wrong? Thanks. (Linux SuSE 10)

Anonymous

  • Guest
java applet (class) in a form
« Reply #4 on: July 04, 2006, 10:15:49 am »
Have you unpacked the flash .tar.gz file?  The path to the libflashplayer.so file needs to be valid.

Regards,
  - Graeme -

abb

  • New Member
  • *
  • Posts: 40
java applet (class) in a form
« Reply #5 on: February 26, 2007, 01:16:01 pm »
Hello, I see it is discussed for Linux... I wonder how about Mac OS X? Can your code work there? As I heard, Flash plugin for Mozilla does not work in Mac OS, there is another plugin (for Safari) there. Is it compatible with your component?

Also why your link for the sources is not live?

Thanks.

Hitnrun

  • New Member
  • *
  • Posts: 24
java applet (class) in a form
« Reply #6 on: June 15, 2007, 08:20:43 pm »
Quote from: "Anonymous"
Have you unpacked the flash .tar.gz file?  The path to the libflashplayer.so file needs to be valid.

Regards,
  - Graeme -


Hello, I tried your component on linux, unpacked the tar.gz and fixed the plugin directory (../Plugins/flash_linux/), and when I click the load button I get:

libflashplayer.so: undefined symbol: overrideShellClassRec.

Any ideas?

danthorpe

  • New Member
  • *
  • Posts: 15
java applet (class) in a form
« Reply #7 on: August 07, 2007, 04:39:05 pm »
Quote from: "Hitnrun"
Quote from: "Anonymous"
Have you unpacked the flash .tar.gz file?  The path to the libflashplayer.so file needs to be valid.

Regards,
  - Graeme -


Hello, I tried your component on linux, unpacked the tar.gz and fixed the plugin directory (../Plugins/flash_linux/), and when I click the load button I get:

libflashplayer.so: undefined symbol: overrideShellClassRec.

Any ideas?
I have the same problem ... is this fixed, or anybody got this thing working ? I could really use this component ...

danthorpe

  • New Member
  • *
  • Posts: 15
java applet (class) in a form
« Reply #8 on: August 14, 2007, 03:17:38 pm »
Anyone at all ?? Graeme, anyway you can help us solve this ?

 

TinyPortal © 2005-2018