Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

using generated java code in Java applets

Thread view: 
juraj - 02 Mar 2007 16:15 GMT
Hi all,
How can we assist you: I'm using Matlab Java Builder to compile .m
scrips to java classes (and jar archives too)
I'm develop the java applet, which use the compiled marlav scripts in
netbeans enironment. When I run teh applet in netbeans environmnet,
ewrithing is OK (the ctf file si decompressed and apllet is running).
But, when I run the HTML page with my applet a error occur. The
problem is, that applet can not use the ctf file.

Reproduction Steps: package webmatlab;
import java.util.*;

import com.mathworks.toolbox.javabuilder.*;
import weblab.*; // my package generated from matlab java builder

public class MyApplet extends java.applet.Applet {

weblab wl = new weblab(); // instance of my matlab object
// there are the error,
// ---- Could not initialize class weblab.weblab

/** Initializes the applet MyApplet */
public void init() {
try {
java.awt.EventQueue.invokeAndWait(new Runnable() {
public void run() {
initComponents();
}
});
} catch (Exception ex) {
ex.printStackTrace();
}
}

// there are other parts ....

}
Andrew Thompson - 02 Mar 2007 16:41 GMT
...
>..I'm using Matlab Java Builder to compile .m
> scrips to java classes (and jar archives too)
> I'm develop the java applet, which use the compiled marlav scripts in
> netbeans enironment. When I run teh applet in netbeans environmnet,
> ewrithing is OK (the ctf file si decompressed and apllet is running).

scrips, enironment, teh, environmnet,
ewrithing, si, apllet..

When you take so little effort checking
your typing, why should I bother reading?

(considers..)

Andrew T.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.