Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-01-2007, 11:04 AM
Member
 
Join Date: Mar 2007
Posts: 41
peiceonly is on a distinguished road
Applets and dll
Hi all
This is my issues.
I have a C program to calculate the heart beat rate of a patient(PC is connected to a device with the USB port). My aim is to plot it in a web page I'm planning to use the Applets for it.
Everthing worked fine ,the applet was working fine as standalone application from the netbeans but once deployed in the browser it is showing some errors Like "has no access" it is true that we are violating the security constraints if a browser can use our libraries .
what s the solution ?
thanks
peiceonly
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-01-2007, 11:16 AM
Senior Member
 
Join Date: Mar 2007
Posts: 136
goldhouse is on a distinguished road
Use WebStart
hi peiceonly
you can use it ,
Code:
Download the dll to user.home or user.dir and then load it from there. private static boolean DllLoaded = false; public MyClass() { if (!DllLoaded) { String dll = DLL_DIR + System.getProperty("file.separator") + DLL_NAME; System.out.println("Installing " + dll); System.load(dll); System.out.println("Library installed."); DllLoaded = true; } } public static final String DLL_DIR = System.getProperty("user.home");
I would suggest you to use web start instead

thanks
goldhouse
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
applets on mac what´s going on? willemjav Java Applets 6 04-19-2008 08:03 PM
applets & threads willemjav Java Applets 2 04-04-2008 07:59 AM
problem with applets.. sireesha New To Java 1 03-21-2008 06:42 AM
one more try, applets security willemjav Java Applets 0 03-09-2008 02:19 PM
applets can´t be tricked willemjav Java Applets 0 03-08-2008 11:10 PM


All times are GMT +3. The time now is 11:42 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org