PBO-Pemrograman Applet dan JavaFX

Java Applet adalah aplikasi java yang bisa disisipkan kedalam halaman HTML. Java applet bisa berjalan pada web browser yang telah mendukung java seperti mozilla, IE, dan chrome. Applet dirancang untuk berjalan ‘remotely‘ pada browser client, sehingga ada beberapa keterbatasan. Secara default, applet tidak bisa mengakses resource pada komputer lokal. Applet biasanya digunakan untuk membuat website lebih dinamis dan menghibur.

Keuntungan Menggunakan Java Applet :

  • Bersifat lintas platform, dapat dijalankan pada Windows, Mac OS, dan Linux
  • Bisa berjalan pada semua versi plugin java
  • Bisa berjalan di dalam sandbox, sehingga user tidak perlu meninjau source-nya, karena ia berjalan tanpa persetujuan keamanan
  • Didukung oleh hampir semua browser
  • Applet bisa disimpan sebagai cache oleh sebagian besar webbrowser sehingga menjadi lebih cepat untuk dimuat ketika diakses berikutnya
  • Applet bisa memiliki akses penuh ke dalam komputer jika user mengijinkan

Kerugian Menggunakan Java Applet:

  • Memerlukan plugin Java
  • Java applet memerlukan JVM sehingga saat pertama dijalankan, akan memakan waktu cukup lama
  • Jika applet tidak di-cache kedalam komputer lokal, maka proses download akan memakan waktu lama



Contoh Pemrograman Applet




Beberapa Contoh Penggunaan Applet bisa di klik dalam posting berikut .
Referensi lain dapat di klik1 atau klik2

Contoh Source Code :
import java.awt.*;
public class TesApplet extends java.applet.Applet{

    public void paint(Graphics g){
        Font f = new Font("SansSerif", Font.BOLD, 20);
        g.setFont(f);
        g.setColor(Color.BLUE);

        int xPusat = this.getSize().width/2;
        int yPusat = this.getSize().height/2;

        String s = "Selamat Belajar Java Applet";
        FontMetrics fm = this.getFontMetrics(f);
        int posisiX = xPusat - (fm.stringWidth(s)/2);
        g.drawString("Selamat Belajar java Applet", posisiX, yPusat);
    }
}


Menggabungkan dengan html

<html>
    <head>
    <title>Selamat Belajar Java</title>
    </head>

    <body>
        <h1>Tes Applet</h1>
        <applet code="TesApplet.class" width=300 height=50>
        </applet>
    
        <br>
        Akhir HTML 
    </body>
</html>



JavaFX

JavaFX adalah salah satu teknologi dari Java yang diluncurkan untuk membangun aplikasi yang kaya dengan konten multimedia seperti grafis, sound, effect grafis dan video, yang diintegrasikan ke dalam Website dan berjalan di dalam jaringan internet.

JavaFX juga dirancang untuk mengembangkan aplikasi kaya fitur  (RIA) Rich Internet Application yang dapat berjalan di berbagai platform contohnya mobile, desktop, dan televisi.



Latihan  Fortune Teller :


Share this

Related Posts

Previous
Next Post »

112 komentar

komentar
November 20, 2019 at 6:56 PM delete

Nama : Alberto Sanjaya
NRP : 05111840000150
Kelas : PBO - D
Link : (penggunaan Java Applet , JavaFX , Java App Post)

Reply
avatar
November 24, 2019 at 1:56 AM delete

Nama : Rafif Ridho
NRP : 05111840000058
Kelas : PBO D
Link : link

Reply
avatar
November 24, 2019 at 8:29 AM delete

Nama : Maisie Chiara Salsabila
NRP : 05111840000057
Kelas : PBO D
Link : Pemrograman Applet dan JavaFX

Reply
avatar
November 24, 2019 at 8:35 AM delete

Nama : Yulia Niza
NRP : 05111840000053
Kelas : PBO A
Link : Link Tugas

Reply
avatar
November 24, 2019 at 8:24 PM delete

Nama: Julius
NRP: 05111840000082
Kelas: PBO A
Link: Link Tugas

Reply
avatar
November 25, 2019 at 4:36 PM delete This comment has been removed by the author.
avatar
November 26, 2019 at 6:18 PM delete

Nama : Elvira Catrine Natalie
NRP : 05111840000016
Kelas : PBO-A
Link : TUGAS

Reply
avatar
November 26, 2019 at 10:38 PM delete

Nama: Iqbaal Pratama Putra
NRP: 05111840000021
Kelas: PBO D
Link: Tugas 7

Reply
avatar
November 26, 2019 at 10:44 PM delete

Nama : Aflakah Nur Farhana
NRP : 05111840000120
Kelas : PBO D
Link : Link

Reply
avatar
November 26, 2019 at 11:07 PM delete

Nama: Intan Kusuma R
Kelas: PBO D
NRP: 05111840000020
Link: Pemrograman Applet dan JavaFX

Reply
avatar
November 26, 2019 at 11:20 PM delete

Nama: Aaron Astonvilla Rompis
NRP: 05111840000131
Kelas: PBO D
Link: Link

Reply
avatar
November 27, 2019 at 4:08 AM delete

Nama : Fara Dinda Mutia Kinanggit
NRP : 05111840000112
Kelas: PBO D
Link : Tugas 7 PBO

Reply
avatar
November 27, 2019 at 5:40 AM delete

Nama : Adam Abelard Garibaldi
NRP : 05111840000125
Kelas : PBO A
Link : Link Tugas PBO

Reply
avatar
November 27, 2019 at 6:39 AM delete

Nama : Jordan Gilbert
NRP : 05111840000084
Kelas: PBO D
Link :Link Tugas

Reply
avatar
PBO
November 27, 2019 at 7:03 AM delete

Nama : Risky Aswi Narni
NRP : 05111740000014
Kelas: PBO A
Link : Link

Reply
avatar
November 27, 2019 at 7:34 AM delete

Nama : Muhammad Rayhan Hakim
NRP : 05111740000160
Kelas : PBO A
Link : https://gipenhakim.blogspot.com/2019/11/java-applet-java-fx.html

Reply
avatar
November 27, 2019 at 8:07 AM delete

Nama : Abdi Dewa Maha Rupawan
NRP : 05111840000003
Kelas: PBO-D
Link : Tugas JavaFX dan Applet

Reply
avatar
November 27, 2019 at 9:56 AM delete

Nama : Syubban Fakhriya
NRP : 05111840000042
Kelas : PBO-A
Link : Simple POS JavaFX

Reply
avatar
November 27, 2019 at 5:06 PM delete

Nama : Ignatius Dwiki Iskandar
NRP : 05111840000019
Kelas : PBO-D
Link : Point of Sales

Reply
avatar
November 27, 2019 at 5:07 PM delete

Nama : Achmad Sofyan Pratama
NRP : 05111840000061
Kelas : PBO-D
LINK : JAVA FX dan Applet

Reply
avatar
November 27, 2019 at 5:21 PM delete

Nama : Imanuel Banifernando Simatupang
NRP : 05111840000085
Kelas : PBO-D
LINK : JAVA FX dan Applet

Reply
avatar
November 27, 2019 at 5:21 PM delete

Nama: Abdul Rozak Baharudin
NRP: 05111840000148
Kelas: PBO D
Link: Applet,JavaFX

Reply
avatar
November 27, 2019 at 8:05 PM delete

Nama : Aflakah Nur Farhana
NRP : 05111840000120
Kelas : PBO D
link

Reply
avatar
November 27, 2019 at 8:20 PM delete

Nama : Arjun Aksan
NRP : 05111740000133
Kelas: PBO A
Link : Link

Reply
avatar
November 27, 2019 at 8:22 PM delete This comment has been removed by the author.
avatar
November 27, 2019 at 8:24 PM delete

Nama : Yulia Niza
NRP : 05111840000053
Kelas: PBO A
Link : Link

Reply
avatar
November 27, 2019 at 8:33 PM delete This comment has been removed by the author.
avatar
November 27, 2019 at 8:38 PM delete This comment has been removed by the author.
avatar
November 27, 2019 at 8:39 PM delete

Nama: Abdul Rozak Baharudin
NRP: 05111840000148
Kelas: PBO D
Link: POS Sederhana

Reply
avatar
November 27, 2019 at 8:40 PM delete

Nama : I Nyoman Yoga M.
NRP : 05111740000159
Kelas : PBO A
Link Applet JavaFX
Link Pos

Reply
avatar
November 27, 2019 at 8:43 PM delete

Nama : Rafif Ridho
NRP : 05111840000058
Kelas : PBO D
Link : Link POS sederhana

Reply
avatar
November 27, 2019 at 9:06 PM delete

Nama : I Gusti Agung Chintya Prema Dewi
NRP : 05111840000130
Kelas : PBO D
Link : POS

Reply
avatar
November 27, 2019 at 9:14 PM delete

Nama : Naulia Adam Kuncoro
NRP 05111740000155
Kelas :PBO A
Link :Applet dan JavaFX

Reply
avatar
November 27, 2019 at 9:36 PM delete

Nama : Dicky Maulana Rozi
NRP : 05111740000083
Kelas : PBO A
Link : Link

Reply
avatar
November 27, 2019 at 10:27 PM delete

Nama: Aaron Astonvilla Rompis
NRP: 05111840000131
Kelas: PBO D
Link: POS Sederhana

Reply
avatar
November 28, 2019 at 3:44 AM delete

Nama : Ida Bagus Rai Widnyana
NRP : 05111740000087
Kelas: PBO D
Link : POS

Reply
avatar
November 28, 2019 at 5:28 AM delete

Nama : Maisie Chiara Salsabila
NRP : 05111840000057
Kelas : PBO D
Link : POS

Reply
avatar
November 28, 2019 at 10:24 AM delete

Nama: Bayu Surya Bawono
NRP: 05111840000114
Kelas: PBO-A
Link: https://etspbo.blogspot.com/2019/11/fortune-teller.html

Reply
avatar
November 29, 2019 at 6:02 AM delete

Nama : Yaniar Pradityas Effendi
NRP : 05111840000047
Kelas : PBO D
JAVAFX, JAVA APPLET
POINT OF SALES

Reply
avatar
November 29, 2019 at 8:48 AM delete

Nama : Wardah Nabilah Rusyda
NRP : 05111840000046
Kelas : PBO D
Link : Tugas 7

Reply
avatar
December 1, 2019 at 5:22 AM delete

Nama : Wisnu
NRP : 05111740000170
Kelas : PBO D
link: tugas POS

Reply
avatar
December 1, 2019 at 9:10 PM delete

Nama : Farrel Muhammad Taqi
NRP : 05111840000071
Kelas : PBO A
Link : Point Of Sale

Reply
avatar
December 4, 2019 at 2:15 AM delete

Nama : Putu Putri Natih Devayanti
NRP : 05111840000163
Kelas : PBO - A
Link : href = Tugas Point of Sales

Reply
avatar
December 4, 2019 at 11:59 AM delete This comment has been removed by the author.
avatar
December 4, 2019 at 12:01 PM delete

Nama : Muhammad Yusuf Mukharom
NRP : 05111740000051
Kelas : PBO - A
Link : Java Applet dan JavaFX

Reply
avatar
December 4, 2019 at 6:25 PM delete This comment has been removed by the author.
avatar
December 4, 2019 at 6:29 PM delete

Nama : Ryan Rasyid A
Kelas : PBO D
NRP : 05111840000079
Link : Link Applet dan JavaFx
Link Simple POS

Reply
avatar
December 6, 2019 at 10:22 PM delete

Nama : Vania Meilani T.
Kelas : PBO D
NRP : 05111840000045
Link : Tugas applet dan ft

Reply
avatar
dae
December 11, 2019 at 12:19 PM delete This comment has been removed by the author.
avatar
dae
December 11, 2019 at 12:21 PM delete

Nama : Devi Hainun Pasya
NRP : 05111840000014
Kelas : PBO A
LINK : Point of Sales

Reply
avatar
December 11, 2019 at 11:09 PM delete

Nama: Ignatius Dwiki Iskandar
NRP: 05111840000019
Kelas: PBO A
Link: Latihan JavaFX

Reply
avatar
dae
December 13, 2019 at 3:04 AM delete

Nama : Devi Hainun Pasya
Kelas : PBO A
NRP : 05111840000014
LINK : Latihan JavaFX

Reply
avatar
December 14, 2019 at 11:01 PM delete

Nama : Putu Putri Natih Devayanti
Kelas : PBO-A
NRP : 05111840000163
Link : Tugas Java Applet dan JavaFX

Reply
avatar
December 15, 2019 at 12:55 AM delete

Nama : Nikodemus Siahaan
Kelas : PBP-A
NRP : 05111840000151
Link :Java Applet dan JavaFX

Reply
avatar
December 15, 2019 at 1:22 AM delete

Nama : Maisie Chiara Salsabila
NRP : 05111840000057
Penugasan :
-Profile & Time
-GUI

Reply
avatar
December 15, 2019 at 2:47 AM delete

Nama : Ammar Alifian F
NRP : 05111840000007
Kelas : PBO - A
Link : Java Applet dan JavaFX

Reply
avatar
December 16, 2019 at 10:02 AM delete

Nama : Muhammad Fawwaz Zuhdan Nauvali
NRP : 05111740000106
Kelas : PBO A
Link : Java Applet dan JavaFX

Reply
avatar
December 16, 2019 at 6:38 PM delete

Nama : Salsabila Harlen
NRP : 05111840000127
Kelas : PBO A
Link : Java Applet dan JavaFX

Reply
avatar
December 7, 2020 at 11:22 PM delete

Nama : Thomas Dwi Awaka
NRP : 05111940000021
Kelas : PBO A
JavaFX

Reply
avatar
December 8, 2020 at 12:19 AM delete

Nama : Ricky Supriyanto
NRP : 05111940000036
Kelas : PBO A
Tugas JavaFX dan Apllet

Reply
avatar
December 9, 2020 at 5:48 AM delete

Nama : Inez Yulia Amanda
NRP : 05111940000208
Kelas : PBO A
Link : Java Applet dan JavaFX

Reply
avatar
December 9, 2020 at 9:32 AM delete This comment has been removed by the author.
avatar
December 9, 2020 at 9:35 AM delete

Nama : Fika Nur Aini
NRP : 05111940000067
Kelas : PBO A
Tugas : Java Applet & JavaFX

Reply
avatar
December 10, 2020 at 7:39 PM delete

Nama : Julietta Anastasia Rodiah Boru Panjaitan
NRP : 05111940000033
Kelas : PBO A
Tugas : Tugas Java Applet & Java FX

Reply
avatar
December 11, 2020 at 6:53 PM delete

Nama : Fitrah Arie Ramadhan
NRP : 05111940000025
Kelas : PBO B
Link Penugasan : Java Applet dan JavaFX

Reply
avatar
December 12, 2020 at 9:47 AM delete

Nama : Raharja Dui Putra Sutedjo
NRP : 05111940000222
Kelas : PBO B
Link Tugas : Program Java Applet & Program JavaFX

Reply
avatar
December 12, 2020 at 6:28 PM delete

Nama : Arvel Gavrilla R.
NRP : 05111940000040
Kelas : PBO - A
Link : Tugas 7

Reply
avatar
December 13, 2020 at 3:16 AM delete

Nama :Fitrah Mutiara
NRP : 05111940000126
Kelas : PBO B
Link : Tugas Java Applet & Java JX

Reply
avatar
December 13, 2020 at 10:14 AM delete This comment has been removed by the author.
avatar
December 13, 2020 at 10:17 AM delete

Nama: Muhammad Naufaldillah
NRP: 05111940000202
Kelas: PBO B
Link: Tugas Java Applet dan Tugas Java JavaFX

Reply
avatar
December 13, 2020 at 10:53 AM delete

Nama : Muthia Qurrota Akyun
NRP : 05111940000019
Kelas : PBO B
Link : Tugas Java Applet dan JavaFX

Reply
avatar
December 13, 2020 at 11:55 AM delete

Nama : Thomas Felix Brilliant
NRP : 05111940000062
Kelas : PBO (B)

Link tugas: Tugas 8 Pemrograman Berorientasi Objek - Java Applet & JavaFX

Reply
avatar
December 13, 2020 at 11:35 PM delete

Nama : Dido Fabian Fayed
NRP : 05111940000059
Kelas : PBO - B
Link : Java FX dan Java Applet

Reply
avatar
December 14, 2020 at 12:13 AM delete

Nama : Aji Rindra Fakhrezi Putra Faisal
NRP : 05111940000205
Kelas : PBO B
Link : Java Applet dan Java FX

Reply
avatar
December 14, 2020 at 12:40 AM delete

Nama : Migel Aulia Mandiri Putra
NRP : 05111940000194
Kelas: PBO A
Link : Java FX dan Java Applet

Reply
avatar
December 14, 2020 at 2:21 AM delete

Nama : Nadia Tiara Febriana
NRP : 05111940000217
Kelas : PBO A
Tugas : Java applet & Java FX

Reply
avatar
December 14, 2020 at 5:23 AM delete

Nama : Tsania Az Zahra
NRP : 05111940000032
Kelas : PBO A
Tugas : JavaFX-Fortune Teller

Reply
avatar
December 14, 2020 at 6:33 AM delete

Nama : Arkan Aulia Farhan
NRP : 05111940000128
Kelas : PBO B
Tugas 8 : Java Applet dan JavaFX

Reply
avatar
December 14, 2020 at 6:54 AM delete

Nama: Yeremia Dhyan Limantara
NRP: 05111940000232
Kelas: PBO A

Tugas:JavaFX
https://yeremialimantara.blogspot.com/2020/12/javafx.html

Reply
avatar
December 14, 2020 at 6:54 AM delete This comment has been removed by the author.
avatar
December 14, 2020 at 8:04 AM delete

Nama: Ivan Muhammad Nizar
NRP: 05111940000052
Kelas: PBO B
Link Tugas 8 : Applet dan JavaFX

Reply
avatar
December 14, 2020 at 9:51 AM delete

Nama : Ghifari Astaudi Ukumullah
NRP : 05111940000012
Kelas :PBO B
Link Tugas : https://ghifariastaudiu.blogspot.com/2020/12/javaapplet-adalah-aplikasi-java-yang.html

Reply
avatar
December 14, 2020 at 10:13 AM delete

Nama : Daffa Muhamad Azhar
NRP : 05111940000037
Kelas : PBO B
Tugas 8 : Java Applet dan Java FX

Reply
avatar
December 14, 2020 at 5:01 PM delete

Nama : Dwinanda Bagoes Ansori
NRP : 05111940000010
Kelas : PBO B
Tugas : Java Applet dan Java FX
Link :
Link Java Applet
Link Java FX

Reply
avatar
December 14, 2020 at 7:46 PM delete

Nama : Mohammad Thoriq Huda
NRP : 05111940000207
Kelas : PBO B
Link : Java Applet dan Java FX

Reply
avatar
December 14, 2020 at 7:56 PM delete

Nama : Fiodhy Ardito Narawangsa
NRP : 05111940000218
Kelas : PBO B
Tugas : Java Applet dan JavaFX

Reply
avatar
December 14, 2020 at 8:51 PM delete

Nama: Muhammad Haikal Aria Sakti
NRP: 05111940000088
Kelas: PBO B
Link Tugas Java Applet: https://sakti0088.blogspot.com/2020/12/tugas-pbo-b-java-applet.html
Link Tugas Java FX: https://sakti0088.blogspot.com/2020/12/tugas-pbo-b-java-fx.html

Reply
avatar
December 14, 2020 at 9:12 PM delete

Nama : Abdulatif fajar sidiq
NRP : 05111840007002
kelas : PBO B
tugas : tugas java applet dan java fx

Reply
avatar
December 14, 2020 at 10:08 PM delete

Nama : Kelvin Andersen
NRP : 05111940000080
Kelas : PBO B
Tugas :
Java Applet https://kelvinandersen.blogspot.com/2020/12/java-applet.html
JavaFX https://kelvinandersen.blogspot.com/2020/12/java-fx.html

Reply
avatar
December 14, 2020 at 10:16 PM delete

Nama : M.Fajri Davyza Chaniago
NRP : 05111940000180
Kelas : PBO B
link Tugas :1. https://mfajridc.blogspot.com/2020/12/tugas-8-pemograman-berorentasi-object-b.html
2. https://mfajridc.blogspot.com/2020/12/8-pemograman-berorentasi-object-b.html

Reply
avatar
December 14, 2020 at 10:52 PM delete

Nama : Muhammad Farhan Haykal
NRP : 05111940000141
Kelas : PBO-B
Tugas :
Java Applet
Java FX

Reply
avatar
December 15, 2020 at 12:02 AM delete

Nama : David Ralphwaldo Martuaraja
NRP : 05111940000190
Kelas : PBO B

Tugas : Java Applet dan Java FX

Reply
avatar
December 15, 2020 at 12:33 AM delete

Nama : Zahrotul Adillah
NRP : 05111940000139
Kelas : PBO A
Link Tugas : Java Applet & JavaFX

Reply
avatar
December 15, 2020 at 12:56 AM delete

Nama : Mohammad Tauchid
NRP : 05111940000136
Kelas : PBO B
Link Tugas : Java Applet & Java FX

Reply
avatar
December 15, 2020 at 1:37 AM delete

Nama: Faisal Reza Maulana
NRP: 05111940000009
Kelas: PBO B
Link: Java Applet & JFX

Reply
avatar
December 15, 2020 at 2:18 AM delete

Nama: Muhammad Izzuddin A
NRP: 05111740000035
Kelas: PBO B
Link: Java Applet & JFX

Reply
avatar
December 15, 2020 at 7:38 AM delete This comment has been removed by the author.
avatar
December 15, 2020 at 7:47 AM delete

Nama : Sabrina Lydia Simanjuntak
NRP : 05111740000107
Kelas : PBO B
Link : Java Applet dan Java FX

Reply
avatar
December 18, 2020 at 12:01 AM delete

Nama : Johnivan Aldo Sudiono
NRP : 05111940000051
Kelas : PBO A
Link : https://johnivanas.blogspot.com/2020/12/tugas-7-pbo-class-javafx.html

Reply
avatar
December 20, 2020 at 10:49 PM delete

Nama : Hanifa Fauziah
NRP : 05111940000024
Kelas : PBO A
Link : Java Applet dan JavaFX

Reply
avatar
December 21, 2020 at 5:53 AM delete

Nama : Junaedi Akbar
NRP : 05111940000041
Kelas : PBO A
Link : Java Applet dan JavaFX

Reply
avatar
December 21, 2020 at 8:49 PM delete

Nama: Kevin Ashil F
NRP: 05111740000178
Kelas: PBO B
Link: Java Applet dan JavaFX

Reply
avatar
December 28, 2020 at 10:35 AM delete

Nama: Raihan Alifianto
NRP: 05111940000213
Kelas: PBO A
Tugas:Tugas 7

Reply
avatar
December 28, 2020 at 11:26 PM delete

Nama: Ega Prabu Pamungkas
NRP: 05111940000014
Kelas: PBO-A
Tugas:
> Testing JavaFX

Reply
avatar
December 29, 2020 at 8:47 PM delete

Nama : Muhammad Akmal Joedhiawan
NRP : 05111940000125
Kelas : PBO A
Link : Applet dan JavaFX

Reply
avatar
December 30, 2020 at 1:01 AM delete

Nama : M Ridho Daffa Ardista
NRP : 05111840000065
Kelas : PBO B
Tugas : Tugas 8

Reply
avatar
December 30, 2020 at 6:26 PM delete

Nama : Ifanu Antoni
Nrp : 05111940000064
kelas : PBO A
Tugas Applet dan JavaFX
Link : https://rakyatterlantar.blogspot.com/2020/12/6-pemrograman-berorientasi-objek-a.html

Reply
avatar
January 11, 2021 at 7:41 AM delete

Nama : Ikhlasul Amal Rivel
NRP : 05111940000145
Kelas : PBO A
Link : https://nolsatuempatlima.blogspot.com/2020/12/pbo-pemrograman-applet-dan-javafx_21.html

Reply
avatar
January 15, 2021 at 6:47 AM delete

Nama : Nizar Mayraldo
NRP : 05111940000004
Kelas : PBO A
Tugas : Tugas JavaFX dan Applet

Reply
avatar