Menu

#86 Improved Applet Support

open
nobody
Other (46)
3
2002-07-17
2002-07-17
No

It would be nice if DrJava supported applet-style
access to image and sound files, so that applets could
be run directly from the Interactions pane. This could
be done similarly to the Applicet system, available
under a proprietary license from
http://users.belgacombusiness.net/arci/applet/index.html .

(See closed Feature Request 582058: "applicet
integration" for more details.)

Discussion

  • Peter Centgraf

    Peter Centgraf - 2003-07-19

    Logged In: YES
    user_id=431096

    There is a freely available option for this now. It is described
    in the FAQ at the DrJava website:

    <http://drjava.net/faq.shtml>

    It would still be nice to integrate this more directly, i.e. include
    this functionality in the base classes of DrJava. My emails to
    the authors of ObjectDraw about this issue have been
    unanswered so far.

     
  • Charles Reis

    Charles Reis - 2003-07-19

    Logged In: YES
    user_id=429731

    Actually, I'm not sure if ObjectDraw supports applet-style access to
    image and sound files through the AppletContext. That seems to be
    the big feature touted by the Applicet framework. But regardless,
    users can still do a substantial amount with applets in DrJava just
    using ObjectDraw (as described in the FAQ).

     
  • Dan Smith

    Dan Smith - 2009-04-21

    Implemented direct support for running applets. I'll leave this open for now, because sound playback is currently not supported. To refocus the feature request: it would be nice if someone could implement the AppletContext.getAudioClip() method provided by the class edu.rice.cs.plt.swing.AppletComponent.

     
  • Mathias Ricken

    Mathias Ricken - 2009-05-01

    In revision 4925, we implemented a "Run Document as Applet" menu item (Tools menu,
    Shift-F2). Also added was an Interactions Pane "applet" command that works
    like the "java" command we already had. You can start an
    applet from the command line by typing in:

    java MyApplet arg1 arg2 arg3

    This internally generates the following command line:
    edu.rice.cs.plt.swing.SwingUtil.showApplet(new MyApplet("arg1","arg2","arg3"), 400, 300);

    The arguments get passed in as strings. That means the applet class
    must have a constructor with the right number of String parameters.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.