RE: applications (Applets do work with TINI!)

"Kelly Smith" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Dear Tina - Re: "i have found out that tini does not allow for applets".

NOT TRUE!  Here(below) is the start of the description for AN_TempMonitor
(download available from):

http://www.maxim-ic.com/appnotes.cfm/appnote_number/1048

And the file associated with AN198, is located at:

ftp://ftp.dalsemi.com/pub/tini/appnotes/AN198/AN198.zip.

TINI supports applets, just fine.  Best regards, Kelly Smith

------------------
| AN_TempMonitor |
------------------

I. Description
=------------=
Application Note for implementing a temperature monitor.

II. Files
=------=
Build_All.bat                    - Script to build the entire application
update                       - Script to upload binary files to required
directories on TINI
Applet\build.bat             - Script to build the Applet.
Applet\src\TempApplet.java   - Source for the primary class.
Applet\src\TempGraph.java    - Source for the temperature graph.
Applet\src\TiniComm.java     - Source for sending data to the TINI host.
Applet\src\TiniListen.java   - Source for listing for data from the TINI
host.
Applet\src\Sample.java       - Source for data holding class
TINI\build.bat               - Script to build the server.
TINI\src\TempButtonHost.java - Source for the HTTP host on the TINI
TINI\src\ButtonControl.java  - Source for controlling the operation of the
DS1920
TINI\src\AlarmMonitor.java   - Source for watching for alarms from the
DS1920
TINI\src\AppletComm.java     - Source for sending data to the Applet
TINI\src\SockListen.java     - Source for receiving Socket connections from
the Applet
TINI\src\TempCommand.java    - Source for carrying out commands received
from the Applet

Included here, is what I had to get applets (any!) to run on Windows 2000,
with IE 6.0, which is the "usual problem" why applets are not loading.  You
can debug applets, with the Java JRE's Console/Monitor, BTW...

Title: "How-To: Run Windows 2000 Applets from TINI - An Installation Guide"

This is a step-by-step guide to install Sun's Java Run-Time Environment on a
PC, running Windows 2000 and Internet Explorer 6.0.

It is my hope that this guide saves you from some of the frustration that I
encountered when trying to get applets to load and execute, from a TINI.

Many thanks to Jehan Snyers d'Attenhoven (in Belgium), as we worked this
guide out!  I did not want to lose the "Secret Sauce", in getting
the applets to work, so it is my pleasure to document this "How-To" for
everyone.

Best regards, Kelly Smith (in California)... Here we go!

=== Start

Step 1 - Download J2SE v 1.4.0_03  Windows (all languages, including
English) JRE (Java Run-Time Environment).

http://java.sun.com/j2se/1.4/download.html

Step 2 - Read the installation instructions, and install the JRE

http://java.sun.com/j2se/1.4/jre/install-windows.html

Step 3 - Select 'Start' --> 'Settings' --> Control Panel.

Step 4 - Select Java Plug-In 1.4.0_03 (Open the 'Java Plug-In Control
Panel'.

Step 5 - Select the 'Browser' tab.

Step 6 - Select 'Microsoft Internet Explorer' (Check-Box).

Step 7 - Select 'Apply'.

Step 8 - Close the 'Java Plug-In Control Panel'.

Step 9 - Close the 'Control Panel'.

Step 10 - Select 'Start' --> 'Shut Down...' --> 'Restart--> 'OK' (Restart
Windows 2000).

Step 11 - Start Microsoft's Internet Explorer 6.0.

Step 12 - Select 'Tools' --> 'Internet Options...'.

Step 13 - Select the 'Security' tab.

Step 14 - Select 'Local intranet' --> 'Sites' - 'Advanced'.

Step 15 - Enter the IP Address for your TINI in the 'Add this Web site to
the zone:'

Step 16 - Select 'Add' --> 'OK'.

Step 17 - Select 'OK' in the 'Local Intranet' window.

Step 18 - Select 'Custom Level... --> 'Microsoft VM' --> 'Java
Permissions' --> 'High safety'.

Step 19 - Select 'Scripting' --> 'Active scripting' -->Enable'

Step 20 - Select 'Scripting' --> 'Scripting of Java applets' -->Enable' -->
'OK'.

Step 21 - Select --> 'Internet Options...' --> 'Internet' --> 'Custom
Level...'.

Step 22 - Select 'Custom Level... --> 'Microsoft VM' --> 'Java
Permissions' --> 'Custom'.

Step 23 - Select 'Scripting' --> 'Scripting of Java applets' -->Enable'.

Step 24 - Select 'Java Custom Settings...'.

Step 25 - Select the 'Edit Permissions' tab.

Step 26 - Select 'Additional Unsigned Permissions' --> 'Access to all
network addresses' -- 'Enable' --> 'OK'.

Step 27 - Select the 'Internet Options' 'Advanced' tab.

Step 28 - Select 'Java (Sun)' --> 'Use Java2 v1.4.0.0_3 <for applet>
(requires restart)' (Check Box).

Step 29 - Select 'Microsoft VM' --> 'Java console enabled' (Un-Check
Box) --> 'OK'.

Step 30 - Select 'Start' --> 'Shut Down...'--> 'Restart--> 'OK' (Restart
Windows 2000).

Step 31 - Start Microsoft's Internet Explorer 6.0.

Step 32 - Select a URL for a TINI applications that loads and applet to
Internet Explorer 6.0.

Step 33 - Select (Right Click) on the Sun Java icon in the task 'tool bar'.

Step 34 Select 'Show Console', and you can observe the interaction between
the running applet, and the TINI.

The installation is now complete... If the applet start-up does not occur,
review all of the steps above, and/or discern the problem as indicated in
the 'Java Console'.


Send all complaints to /dev/nul.

   Kelly Smith
   Drunken Master II
   Independent Consultant (meaning STILL unemployeed as of Feb-14-2003)
   http://66.47.208.241/
   Phone: +001.805.376.8405
   E-Mail: [email protected]

-----Original Message-----
From: tini-admin-6tN4nzCoH/[email protected] [mailto:tini-admin-6tN4nzCoH/[email protected]]On Behalf Of
Tina McGrath
Sent: Friday, April 23, 2004 5:25 AM
To: tini-6tN4nzCoH/[email protected]
Subject: [TINI]applications


since my last message i have found out that tini does not allow for
applets...

how do i get around this... my thing is i have a website with an embeded
applet that controls a mobile platform... (at least that is the plan)

cannot now use the applet....   what should i do???

will an application using buttons work, convert to tini,  work.

please help

tks

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.