I am new to Ruby on Rails world, and would like to combine the ease
of RoR web programming with rich graphics and applications from java
Wonder if anyone have tried that before?
I am having difficulty to use java applet in my .rhtml view files. I
a simple test case (files given below) and got error that applet could
be started (notinited) or loading java applet failed. When I ran the
web page directly (changing Hello.rhtml to Hello.html), it ran fine.
I also noticed that in the log file from rails the applet was loaded
Like to find out how to include an applet in a ,rhtml file. Please
class AppletController < ApplicationController
Hello.java (to compile into Hello.class)
public class Hello extends JApplet
public void init()
Container contentPane = getContentPane();
JLabel label = new JLabel(“Hello”, SwingConstants.CENTER);