Title:

Java-Applets: Aufbau, Programmierung und Integration in die HTML-Seite

Home
deutsch
  
ISBN: 0471034657   ISBN: 0471034657   ISBN: 0471034657   ISBN: 0471034657 
 
  Wir empfehlen:       
 

Einfaches Applet

Tags


Applet
Object

Attribute:


CODEBASE
ARCHIVE
ALT
NAME
ALIGN
VSPACE
HSPACE

(Drücken sie auf eines der obigen Attribute um es rechts einzufügen)

Einbinden eines Applets in HTML:

<body>

<Applet
Code="Hello.class" Width="200" Height="100" >
<param
name ="Text" value="Hello you all!" >
</Applet>
</body>


<Object ClassID="CLSID:8AD9C840-044E-11d1-B3E9-00805F499D93" Width="200" Height="100" >
<param
name="code" value="Hello.class" >
<param
name="Text" value="Hello you all!">
</
Object>

Java Applet:

import java.awt.*;
import java.applet.*;


public class Hello extends Applet {

   // Überschreiben der Methode Paint()
   public void paint(Graphics g){
      String Text = this.getParameter("Text");
      g.setFont(new Font("Arial", Font.BOLD, 18);
      g.drawString(Text ,20 ,20);
   }
}

  
Mobile Information Device Profile for Java 2 Micro Edition (J2ME): Professional Developer's Guide (Professional Developer's Guides)
von C. E. Ortiz,
Eric Gigučre
Sonstige Artikel:
Applied Linguistics (Oxford Introductions to Language Study)
von Guy Cook,
H. G. Widdowson
Schaum's Outline of Spanish Grammar (Schaum's Outlines)
ABBA - Story und Songs kompakt
 
   
 
     

Back to the topic sites:
ScientificPublication.com/Startseite/Informatik/Programmieren
StudyPaper.com/Startseite/Computer/Informatik/Programmieren/Java

External Links to this site are permitted without prior consent.
   
  Home  |  deutsch  |  Set bookmark  |  Send a friend a link  |  Copyright ©  |  Impressum