Kamis, 12 Oktober 2023

5B Desain Web - Modul 2 Form Notif Sangat Sederhana (Tugas notifx.html)

 

<!DOCTYPE html>
<html>
	<head>
		<title>Notif Soni H (PTI 5b)</title>
	</head>
	<body>
		<div style="text-align: center;">
			<br><br>
			<fieldset><br><br>
				<legend align="center">
					<strong> Pendaftaran Berhasil</strong>
				</legend>
				<a href="index.html"><h2>Silahkan klik disini untuk Login</h2></a>
				<br><br>
			</fieldset>
			<br style="line-height:7;">
			<p style="text-align: center;">
				<font size="1" color="red">
					<strong>Copyright 12 Okt 2023</strong>
				</font>
			</p>
		</div>
	</body>
</html>

Rabu, 11 Oktober 2023

5B Desain Web - Modul 2 Form Registrasi Sangat Sederhana (Tugas regisx.html)

<!DOCTYPE html>
<html>
	<head>
		<title>Reg Soni H (PTI 5B)</title>
	</head>
	<body>
		<h1 Align="Center">FORM REGISTRASI</h1>
		<form name="Regis" action="notifx.html" method="post">
			<fieldset>
				<legend>
					<Strong align="center">Silahkan mengisi data dibawah ini :</Strong>
				</legend>
				<p>
					<label>Nama Lengkap : </label>
					<input name="Nama" type="text" placeholder="Nama Lengkap kamu" required>
					<font size="1" color="red">*</font><br>
				</p>
				<p>
					<label>Jenis Kelamin : </label>
					<input name="pilihsatu" type="radio" value="1"> Laki-laki
					<input name="pilihsatu" type="radio" value="2"> Perempuan <br>
				</p>
				<p>
					<label>Alamat : </label><br>
					<textarea cols="64" rows="6" Name="Alamat" placeholder="Tulis alamat lengkap dan jelas" required></textarea>
					<font size="1" color="red">*</font><br>
				</p>
				<p>
					<label>Email : </label>
					<input name="Email" type="email" placeholder="Email harus valid" required>
					<font size="1" color="red">*</font><br>
				</p>
				<p>
					<label>User : </label>
					<input name="User" type="text" placeholder="User kamu" required>
					<font size="1" color="red">*</font><br>
				</p>
				<p>
					<label>Password : </label>
					<input name="Password" type="password" placeholder="Password kamu" required>
					<font size="1" color="red">*</font><br>
				</p>
				<p>
					<label>Mendaftar sebagai: </label>
					<select name="StatusDaftar">
						<option value=1>Admin Utama</option>
						<option value=2>Pengelola</option>
						<option value=3>Pembaca</option>
						<option value=4>Tamu</option>
					</select>
				</p>
				<br>
				<input type="submit" value="Submit"/>
				<input type="reset" value="Reset"/>
			</fieldset>
		</form>
		<p style="text-align: center;">
			<font size="1" color="red">
				<strong>Copyright 12 Okt 2023</strong>
			</font>
		</p>
	</body>
</html>

5B Desain Web - Modul 2 Form Login Sangat Sederhana (Tugas Index.html)

<!DOCTYPE html>
<html>
	<head>
		<title>Haloo Soni H (PTI 5B)</title>
	</head>
	<body>
		<h1 align="center">Selamat Datang di Hijab Online</h1>
		<div style="text-align: center;">
			<img src="hijab1.jpg" name="Image1" width="300" height="300" border="0"/><br><br><br>
		</div>
		<form name="FormLogin" method="get">
			<fieldset>
				<legend><Strong>Silahkan Login:</Strong></legend>
				<p>
					<label>Username: </label> <input name="username" type="text" placeholder="username kamu" required>
					<font size="1" color="red">*</font><br>
				</p>
				<p>
					<label>Password: </label> <input name="password" type="password" placeholder="password kamu" required>
					<font size="1" color="red">*</font><br>
				</p>
			<input name="ingat" type="checkbox" value="yes"> Ingat saya
			<br><br>
			<input type="submit" value="Login">
			<br><br><br> Belum punya akun?? Silahkan klik
			<a href="regisx.html">Daftar</a>
			</fieldset>
		</form>
		<br style="line-height:5;">
		<p style="text-align: center;">
			<font size="1" color="red">
				<strong>Copyright 11 Okt 2023</strong>
			</font>
		</p>
	</body>
</html>

5B Desain Web - Modul 1 (Tugas)

<!DOCTYPE html>
<html>
<head>
	<title>Tugas 1 Soni H</title>
</head>
 
<body>
	<h1 align="center" id="mbalik_munggah">Bleach: Thousand-Year Blood War</h1><br><br>
	<h3>Daftar Episode:</h3>
		<ul type="disc">
			<li><a href="#1"> 1: The Blood Warfare</a></li>
			<li><a href="#2"> 2: Foundation Stones</a></li>
			<li><a href="#3"> 3: March of the StarCross</a></li>
			<li>..</li>
			<li>..</li>
			<li>..</li>
			<li>dst</li>
		</ul>
		<br style="line-height:7;">
		<hr><hr>
 
	<h2 id="1">The Blood Warfare</h2>
	<p>
		<strong>Soul Reapers Ryūnosuke Yuki and Shino Madarame</strong> are assigned as new guardians of Karakura Town, following the mass disappearances of Hollows from the Human World. They are ambushed by Hollows, but rescued by Ichigo Kurosaki, Orihime Inoue, Yasutora Sado and Uryū Ishida. 
		<br>Two days later, Ichigo meets Asguiaro Ebern, a member of the Wandenreich. When Ebern attempts to use a Quincy medallion to seal Ichigo's Bankai, he destroys it and makes him retreat. At the same time, a group of individuals representing the Wandenreich, the Quincy Empire, ambush head captain Genryūsai Shigekuni Yamamoto's office in the Soul Society, and deliver a fatal wound to lieutenant Chōjirō Sasakibe as an example of the impending fate of the Soul Reapers.
		<br>Meanwhile, 11th squad members Ikkaku Madarame and Yumichika Ayasegawa investigate the disappearances of thousands of civilians from the Rukon District. At the Wandenreich's base Silbern, Ebern delivers a report to Yhwach, the Quincy King
	</p>
 
	<p>
		<img src="1.jpeg" style="float:left" width="300px" height="200px">
		<strong>Yamamoto engages Yhwach</strong> in battle across the rooftops of the Seireitei. After Yhwach is pushed to unsheathing his sword, Yamamoto activates his Bankai, Zanka no Tachi, which causes everything to dry up without water. 4th division captain Retsu Unohana and her lieutenant Isane Kotetsu are worried that if the battle goes on for too long, Yamamoto could destroy even the Soul Society.
		<br>Yhwach is powerless against the various abilities of Zanka no Tachi, and Yamamoto boasts that his Bankai is too strong to be stolen. Yamamoto unknowingly defeats the fake replica and the real Yhwach arrives and identifies him as the sceond half of the Lloyd twins, Stern Ritter "Y" Royd Lloyd. Yhwach destroys the Division 1 barracks and kills Royd for his failure. Yhwach reveals he was busy meeting with Sōsuke Aizen in his underground prison.
		<br>Considered by the Wandenreich to be one of the Five Special War Powers, Yhwach attempted to recruit Aizen, but he refused to join him, not wanting him to fall under his command, so he was left in prison. Yamamoto attempts to use his Bankai again, but Yhwach steals it, being the only one actually powerful enough to take it and then bisects him.
	</p><br style="line-height:13;">
 
	<hr color="red">
	<h2 id="2" align="center">Foundation Stones</h2>
	<p align="center"> 
		Nelliel Tu Odelschwanck and Pesche go to the Human World, and inform Ichigo that Hueco Mundo has been overthrown by the Wandenreich, after its leader Tier Halibel was defeated by Yhwach. 
		<br>The Arrancars of Hueco Mundo have either joined the Quincies, been killed or were enslaved. Kisuke Urahara, Ichigo, Orihime, Chad, Nel and Pesche arrive to Hueco Mundo. Meanwhile, the Wandenreich's hunting captain of the First Jagdarmee, Stern Ritter "J" Quilge Opie, tests the Arrancars to see who can join their ranks. 
		<br>Loly and Menoly attempt to take an upper hand, but are dispatched easily. Tres Bestias: Emilou Apacci, Franceska Mila Rose and Cyan Sung-Sun arrive, and kill many Quincy soldiers, but are overwhelmed by Quilge. Ichigo decides to free all Arrancars
	</p>
 
	<div style="text-align: center;">
		<img src="2.jpeg" width="300px" height="200px">
	</div>
 
	<p align="center">
		One of Nimaiya's Zanpakutō bodyguards immediately retrieves Ichigo and places him with the countless Asauchi again, to fight until one chooses him. However, all the Asauchi kneel to Ichigo as he chooses a white Asauchi, the hollow "White" inside him. In Soul Society, the captains and lieutenants begin training. Captain Hitsugaya returns to the Soul Reaper training grounds to hone his sword-wielding skills.
		<br>9th division captain, Kensei Muguruma takes his lietenant, Hisagi out to face his other, unofficial lieutenant Mashiro Kuna in her Hollowfied form, in order to awaken his Bankai. Akon returns to the division 12 barracks after his wounds have been treated and learns that captain Kurotsuchi and lieutenant Nemu Kurotsuchi have locked themselves in the lab for more than 24 hours now and are in the process of creating something. 
		<br>Captain Komamura returns to his clan's hideout and tries to convince the clan elder to teach him a secret clan technique, while captain Soi-Fon trains her body in the mountains. Meanwhile, Nimaiya's bodyguards prepare the forge and he begins rebuilding Ichigo's Zanpakutō, while also telling him that Old Man Zangetsu is not his Zanpakutō, the hollow "White" in him was his Zanpakutō all along, and that Old Man Zangetsu was actually the source of Ichigo's latent Quincy powers, taking the form of Yhwach from a thousand years ago. 
		<br>Ichigo speaks to Old Man Zangetsu again, who expresses pride in how strong Ichigo has become since he chose the path of a Soul Reaper, despite Old Man Zangetsu suppressing his powers to prevent him from becoming a Soul Reaper in the first place. Old Man Zangetsu sheds a tear as he says farewell and relinquishes his hold on Ichigo's powers, allowing him to finally access his true Zanpakutō, the dual bladed Zangetsu. Sensing both "White" and Old Man Zangetsu in the long and short blades respectively, Ichigo thanks Zangetsu and says that you are me. In Silbern, Yhwach meets with Haschwalth, who has brought Uryū along, donned in Stern Ritter attire
	</p><br style="line-height:13;">
 
	<hr color="blue">
	<h2 id="3" align="right">March of the StarCross</h2>
	<p align="right">
		Ichigo begins his fight against Quilge. The Tres Bestias summon Ayon and re-join the fight against Quilge. Uryu learns the truth of the conflict between Soul Reapers and Quincies centuries ago. It is revealed that 12th Division captain Mayuri Kurotsuchi ordered his division to exterminate the civilians from the Rukon District, in order to rectify the soul imbalance caused by the Quincies exterminating Hollows in the Living World.
		<br>It is revealed that Yamamoto failed to stop Yhwach 1,000 years ago. Quilge absorbs Reishi in the area (including from Ayon) and overpowers the Tres Bestias, but clashes with Ichigo once again after he activates his Bankai, all the while the Quincies have begun their invasion of the Soul Society, with Bazz-B mortally wounding Lieutenant of Squad 3 Izuru Kira and brutally killing the seat officers of Squad 3
	</p>
 
	<p align="right">
		<img src="3.jpg" style="float:right" width="360px" height="260px">
		After completing his training with all of Squad 0, Ichigo begins descending to the Seireitei and informs Kisuke of his arrival. Haschwalth leads Uryū to the defeated BG9 and Cang Du for judgement. 
		<br>As a giant scale appears behind Haschwalth, the two defeated Stern Ritters lose their lives and powers. Haschwalth reveals that all those who are given a portion of Yhwach's soul have their powers, knowledge, and skills absorbed by Yhwach along with their Soul upon dying. 
		<br>As Rukia scours the Seireitei, she is alarmed by the arrival of Stern Ritter "F" Äs Nödt, who is looking for Byakuya's Senbonzakura. As she is much stronger now and has learned what her Zanpakutō really does, specifically its ability to lower its users temperature and anything she touches to absolute zero, she is able to freeze Äs Nödt. Angered by Rukia's dismissal of fear, Äs Nödt activates his Vollständig, which transmits fear just upon the sight of his grotesque body. 
		<br>When she is trapped because of a moment of fear, Byakuya steps in to recognize her growth. Äs Nödt taunts Byakuya, but the latter allows Rukia to stand on her own. She unleashes her dangerous Bankai, Hakka no Togame to instantly freeze Äs Nödt to death. Byakuya holds Rukia together, while she undoes it and tells her to train with the Bankai, so she does not accidentally kill herself with it. While tending to Rose and Kensei, Kotetsu and 11th Squad lieutenant Yachiru Kusajishi are attacked by a Stern Ritter.
	</p><br style="line-height:5;">
	<hr><hr>
	<a href="#mbalik_munggah" ><span style="font-size: 25px;">&#8593</span> back to top</a><br>
	<br style="line-height:5;">
</body>
</html>

Selasa, 30 Mei 2023

[FIX] UAS Matkul Pemrograman Lanjut (PTI 4B)

Membuat Kalkulator + Converter suhu sederhana dengan Netbeans

 

[coding yg paling fix terbaru cek di github ya sobb..]

 
package shkalkulator;
 
import java.awt.Color;
import javax.swing.*;
 
/**
 * UAS Matkul Java Lanjut PTI 4B
 *
 * @author Soni Hendarkanto PTI 4B With Apache NetBeans IDE 16, Belsoft JAVA JDK
 * 19 on Linux Mint 21.1 "VERA" Cinnamon Desktop Edition
 *
 * My github for this project: https://github.com/Soni-Hendar-Kip/SHKalkulator
 *
 * link tutor: - original version from pak dosen rozi, and -
 * https://www.tutorialsfield.com/simple-calculator-program-in-java-using-swing/
 * -
 * https://www.duniaprogramming.com/2017/02/cara-membuat-program-kalkulator-keren.html
 * and -
 * http://ngoding-java.blogspot.com/2016/02/membuat-aplikasi-konverter-suhu-dengan.html
 */
public class NoxUASJavaLanjut extends javax.swing.JFrame {
 
    String TandaHitung = ""; //untuk mewakili simbol operator hitung +-/*
    String LayarAwal; //untuk mewakili layar awal
    boolean FirstClick = false;
 
    double Angka_ke1 = 0; //untuk mewakili angka pertama yg akan di hitung pada kalkulator
    double Angka_ke2 = 0; //untuk mewakili angka kedua
    double Hasil_Hitung; //untuk mewakili hasil perhitungan
 
    //UAS
    public Double NoxSuhuuuu; //variable hitung suhu, dianggap satuanya adalah celcius
    public Double NoxCelc; //celcius bro
    public Double NoxFahrell; //tau ndiri lah
    public Double NoxKelvinSanjaya; //mosok dadak di tulis
    public Double NoxRemunerasi; //reamur bro
 
    public String NoxHasilSuhu;
 
    public NoxUASJavaLanjut() {
        initComponents();
        NoxRadioBtOn_.setEnabled(false);
    }
 
    public void AturTextLayar(String k) {
        LayarAwal = NoxLayar_.getText();
        if (LayarAwal.equals("0")) {
            LayarAwal = LayarAwal.replace("0", "");
        }
        if (!TandaHitung.equals("") && FirstClick) {
            NoxLayar_.setText(k);
            FirstClick = false;
        } else {
            NoxLayar_.setText(LayarAwal + k);
        }
    }
 
    public void AturWarnaTombolAngka(boolean yes_or_no) {
        setBackground(Color.yellow);
    }
 
    public void HilangkanWarnaTombol(boolean yes_or_no) {
        NoxBt0_.setBackground(Color.LIGHT_GRAY);
        NoxBt1_.setBackground(Color.LIGHT_GRAY);
        NoxBt2_.setBackground(Color.LIGHT_GRAY);
        NoxBt3_.setBackground(Color.LIGHT_GRAY);
        NoxBt4_.setBackground(Color.LIGHT_GRAY);
        NoxBt5_.setBackground(Color.LIGHT_GRAY);
        NoxBt6_.setBackground(Color.LIGHT_GRAY);
        NoxBt7_.setBackground(Color.LIGHT_GRAY);
        NoxBt8_.setBackground(Color.LIGHT_GRAY);
        NoxBt9_.setBackground(Color.LIGHT_GRAY);
        NoxBtBagi_.setBackground(Color.magenta);
        NoxBtClear_.setBackground(Color.LIGHT_GRAY);
        NoxBtKali_.setBackground(Color.magenta);
        NoxBtKoma_.setBackground(Color.magenta);
        NoxBtKurang_.setBackground(Color.magenta);
        NoxBtPersen_.setBackground(Color.magenta);
        NoxBtSamaDengan_.setBackground(Color.blue);
        NoxBtTambah_.setBackground(Color.magenta);
        NoxBtDelete_.setBackground(Color.blue);
    }
 
    public void Modiarrr() {
        NoxBt1_.setEnabled(false);
        NoxBt2_.setEnabled(false);
        NoxBt3_.setEnabled(false);
        NoxBt4_.setEnabled(false);
        NoxBt5_.setEnabled(false);
        NoxBt6_.setEnabled(false);
        NoxBt7_.setEnabled(false);
        NoxBt8_.setEnabled(false);
        NoxBt9_.setEnabled(false);
        NoxBt0_.setEnabled(false);
        NoxBtAbout_.setEnabled(false);
        NoxBtAkarKuadrat_.setEnabled(false);
        NoxBtAkarKubik_.setEnabled(false);
        NoxBtBagi_.setEnabled(false);
        NoxBtClear_.setEnabled(false);
        NoxBtDelete_.setEnabled(false);
        NoxBtKali_.setEnabled(false);
        NoxBtKoma_.setEnabled(false);
        NoxBtKurang_.setEnabled(false);
        NoxBtPangkatKuadrat_.setEnabled(false);
        NoxBtPersen_.setEnabled(false);
        NoxBtSamaDengan_.setEnabled(false);
        NoxBtTambah_.setEnabled(false);
        NoxLayar_.setEnabled(false);
        NoxRadioBtOff_.setEnabled(false);
        NoxRadioBtOn_.setEnabled(true);
        NoxRadioCelcius_.setEnabled(false);
        NoxRadioFahrenheit_.setEnabled(false);
        NoxRadioKelvin_.setEnabled(false);
        NoxRadioReamur_.setEnabled(false);
        jPanel2.setBackground(Color.LIGHT_GRAY);
        jLabel2.setForeground(Color.GRAY);
        jLabel3.setForeground(Color.GRAY);
        jLabel1.setForeground(Color.red);
    }
 
    public void Muruppp() {
        NoxBt1_.setEnabled(true);
        NoxBt2_.setEnabled(true);
        NoxBt3_.setEnabled(true);
        NoxBt4_.setEnabled(true);
        NoxBt5_.setEnabled(true);
        NoxBt6_.setEnabled(true);
        NoxBt7_.setEnabled(true);
        NoxBt8_.setEnabled(true);
        NoxBt9_.setEnabled(true);
        NoxBt0_.setEnabled(true);
        NoxBtAbout_.setEnabled(true);
        NoxBtAkarKuadrat_.setEnabled(true);
        NoxBtAkarKubik_.setEnabled(true);
        NoxBtBagi_.setEnabled(true);
        NoxBtClear_.setEnabled(true);
        NoxBtDelete_.setEnabled(true);
        NoxBtKali_.setEnabled(true);
        NoxBtKoma_.setEnabled(true);
        NoxBtKurang_.setEnabled(true);
        NoxBtPangkatKuadrat_.setEnabled(true);
        NoxBtPersen_.setEnabled(true);
        NoxBtSamaDengan_.setEnabled(true);
        NoxBtTambah_.setEnabled(true);
        NoxLayar_.setEnabled(true);
        NoxRadioBtOff_.setEnabled(true);
        NoxRadioBtOn_.setEnabled(false);
        NoxRadioCelcius_.setEnabled(true);
        NoxRadioFahrenheit_.setEnabled(true);
        NoxRadioKelvin_.setEnabled(true);
        NoxRadioReamur_.setEnabled(true);
        jPanel2.setBackground(Color.getHSBColor(255, 255, 255));
        jLabel2.setForeground(Color.black);
        jLabel3.setForeground(Color.black);
        jLabel1.setForeground(Color.black);
    }
 
    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">                          
    private void initComponents() {
 
    }// </editor-fold>                        
 
    private void NoxBt9_ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        // TODO add your handling code here:
 
        AturTextLayar("9");
        HilangkanWarnaTombol(true);
        NoxBt9_.setBackground(Color.GREEN);
 
    }                                       
 
    private void NoxBt6_ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        // TODO add your handling code here:
 
        AturTextLayar("6");
        HilangkanWarnaTombol(true);
        NoxBt6_.setBackground(Color.GREEN);
 
    }                                       
 
    private void NoxBt5_ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        // TODO add your handling code here:
 
        AturTextLayar("5");
        HilangkanWarnaTombol(true);
        NoxBt5_.setBackground(Color.GREEN);
 
    }                                       
 
    private void NoxBt2_ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        // TODO add your handling code here:
 
        AturTextLayar("2");
        HilangkanWarnaTombol(true);
        NoxBt2_.setBackground(Color.GREEN);
 
    }                                       
 
    private void NoxBt3_ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        // TODO add your handling code here:        
 
        AturTextLayar("3");
        HilangkanWarnaTombol(true);
        NoxBt3_.setBackground(Color.GREEN);
    }                                       
 
    private void NoxBtClear_ActionPerformed(java.awt.event.ActionEvent evt) {                                            
        // TODO add your handling code here:
        NoxLayar_.setText("");
 
        HilangkanWarnaTombol(true);
        NoxBtClear_.setBackground(Color.blue);
        NoxRadioCelcius_.setEnabled(true);
        NoxRadioCelcius_.setSelected(true);
        NoxRadioFahrenheit_.setEnabled(true);
        NoxRadioKelvin_.setEnabled(true);
        NoxRadioReamur_.setEnabled(true);
    }                                           
 
    private void NoxBtTambah_ActionPerformed(java.awt.event.ActionEvent evt) {                                             
        // TODO add your handling code here:
 
        TandaHitung = "+";
        FirstClick = true;
        Angka_ke1 = Double.parseDouble(NoxLayar_.getText());
 
        HilangkanWarnaTombol(true);
        NoxBtTambah_.setBackground(Color.YELLOW);
    }                                            
 
    private void NoxBtKurang_ActionPerformed(java.awt.event.ActionEvent evt) {                                             
        // TODO add your handling code here:
 
        TandaHitung = "-";
        FirstClick = true;
        Angka_ke1 = Double.parseDouble(NoxLayar_.getText());
 
        HilangkanWarnaTombol(true);
        NoxBtKurang_.setBackground(Color.YELLOW);
    }                                            
 
    private void NoxBtKali_ActionPerformed(java.awt.event.ActionEvent evt) {                                           
        // TODO add your handling code here:
 
        TandaHitung = "*";
        FirstClick = true;
        Angka_ke1 = Double.parseDouble(NoxLayar_.getText());
 
        HilangkanWarnaTombol(true);
        NoxBtKali_.setBackground(Color.YELLOW);
    }                                          
 
    private void NoxBtBagi_ActionPerformed(java.awt.event.ActionEvent evt) {                                           
        // TODO add your handling code here:
 
        TandaHitung = "/";
        FirstClick = true;
        Angka_ke1 = Double.parseDouble(NoxLayar_.getText());
 
        HilangkanWarnaTombol(true);
        NoxBtBagi_.setBackground(Color.YELLOW);
    }                                          
 
    private void NoxBtKoma_ActionPerformed(java.awt.event.ActionEvent evt) {                                           
        // TODO add your handling code here:
        if (NoxLayar_.getText().contains(".")) {
            return;
        } else {
            AturTextLayar("."); //koma dalam inggris menjadi . (titik)
        }
 
        HilangkanWarnaTombol(true);
        NoxBtKoma_.setBackground(Color.YELLOW);
 
    }                                          
 
    private void NoxBtPersen_ActionPerformed(java.awt.event.ActionEvent evt) {                                             
        // TODO add your handling code here:
 
        Angka_ke2 = Double.parseDouble(NoxLayar_.getText());
        Hasil_Hitung = Angka_ke1 * Angka_ke2 / 100;
        NoxLayar_.setText(Double.toString(Hasil_Hitung));
    }                                            
 
    private void NoxBtSamaDengan_ActionPerformed(java.awt.event.ActionEvent evt) {                                                 
        // TODO add your handling code here:
        Hasil_Hitung = 0;
        Angka_ke2 = Double.parseDouble(NoxLayar_.getText());
        if (TandaHitung == "+") {
            Hasil_Hitung = Angka_ke1 + Angka_ke2;
        } else if (TandaHitung == "-") {
            Hasil_Hitung = Angka_ke1 - Angka_ke2;
        } else if (TandaHitung == "*") {
            Hasil_Hitung = Angka_ke1 * Angka_ke2;
        } else if (TandaHitung == "/") {
            Hasil_Hitung = Angka_ke1 / Angka_ke2;
        }
 
        String SHasil = Double.toString(Hasil_Hitung);
        NoxLayar_.setText(SHasil);
 
        HilangkanWarnaTombol(true);
        NoxBtSamaDengan_.setBackground(Color.RED);
    }                                                
 
    private void NoxBtAbout_ActionPerformed(java.awt.event.ActionEvent evt) {                                            
        // TODO add your handling code here:
        new abot().setVisible(true);
 
        /*JOptionPane.showMessageDialog(rootPane, "UAS Matkul Pemrograman lanjut\n"
                + "Dosen: Pak Fahrur Rozi\n\n"
                + "Kalkulator Sederhana + Converter Suhu Sederhana Juga   \n\n"
                + "Soni Hendarkanto (PTI 4B)\n"
                + "21183207051\n\n"
                + "NB:\n"
                + "Converter suhu hanya bisa satu arah, dari Celcius ke Lainnya,\n"
                + "misal Celcius ke Farenheit,\n"
                + "         Celcius ke Kelvin,\n"
                + "         Celcius ke Reamur,\n\n"
                + "Tidak bisa dari dari Farenheit ke Kelvin,\n"
                + "atau dari Reamur ke Farenheit", "Tentang Kalkulator ini", HEIGHT);*/
    }                                           
 
    private void NoxBt7_ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        // TODO add your handling code here:
 
        AturTextLayar("7");
        HilangkanWarnaTombol(true);
        NoxBt7_.setBackground(Color.GREEN);
 
    }                                       
 
    private void NoxBt8_ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        // TODO add your handling code here:
 
        AturTextLayar("8");
        HilangkanWarnaTombol(true);
        NoxBt8_.setBackground(Color.GREEN);
 
    }                                       
 
    private void NoxBt4_ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        // TODO add your handling code here:
 
        AturTextLayar("4");
        HilangkanWarnaTombol(true);
        NoxBt4_.setBackground(Color.GREEN);
 
    }                                       
 
    private void NoxBt1_ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        // TODO add your handling code here:
 
        AturTextLayar("1");
        HilangkanWarnaTombol(true);
        NoxBt1_.setBackground(Color.GREEN);
 
    }                                       
 
    private void NoxBt0_ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        // TODO add your handling code here:
        AturTextLayar("0");
        HilangkanWarnaTombol(true);
        NoxBt0_.setBackground(Color.GREEN);
    }                                       
 
    private void NoxBtDelete_ActionPerformed(java.awt.event.ActionEvent evt) {                                             
        // TODO add your handling code here:
        int PanjangAngka = NoxLayar_.getText().length();
        int DinasPajak = PanjangAngka - 1;
 
        if (PanjangAngka > 0) {
            StringBuilder HapusKarakter = new StringBuilder(NoxLayar_.getText());
            HapusKarakter.deleteCharAt(DinasPajak);
            NoxLayar_.setText(HapusKarakter.toString());
        }
 
        HilangkanWarnaTombol(true);
        NoxBtDelete_.setBackground(Color.YELLOW);
    }                                            
 
    private void NoxRadioBtOff_ActionPerformed(java.awt.event.ActionEvent evt) {                                               
        // TODO add your handling code here:
        Modiarrr();
        NoxLayar_.setText("");
        jLabel1.setText("OFF");
    }                                              
 
    private void NoxBtAkarKuadrat_ActionPerformed(java.awt.event.ActionEvent evt) {                                                  
        // TODO add your handling code here:
 
        Angka_ke1 = Double.parseDouble(NoxLayar_.getText());
        Double AkarKuadrat = Math.sqrt(Angka_ke1);
        NoxLayar_.setText(Double.toString(AkarKuadrat));
    }                                                 
 
    private void NoxBtAkarKubik_ActionPerformed(java.awt.event.ActionEvent evt) {                                                
        // Akar Kubik adalah akar 3, misal 27 hasilnya 3
 
        Angka_ke1 = Double.parseDouble(NoxLayar_.getText());
        Double AkarKubik = Math.cbrt(Angka_ke1);
        NoxLayar_.setText(Double.toString(AkarKubik));
    }                                               
 
    private void NoxBtPangkatKuadrat_ActionPerformed(java.awt.event.ActionEvent evt) {                                                     
        // Rumus pangkat kuadrat adalah Math.pow(angka, 2) artinya angka x angka;
        // bisa juga Math.pow(angka, 3) artinya angka x angka x angka;
        // Math.pow(7, 4) artinya 7x7x7x7;
 
        Angka_ke1 = Double.parseDouble(NoxLayar_.getText());
        Double PangkatKuadrat = Math.pow(Angka_ke1, 2);
        NoxLayar_.setText(Double.toString(PangkatKuadrat));
    }                                                    
 
    private void NoxRadioBtOn_ActionPerformed(java.awt.event.ActionEvent evt) {                                              
        // TODO add your handling code here:
        Muruppp();
        NoxLayar_.setText("0");
        jLabel1.setText("Kalkulator Anti Mumet");
    }                                             
 
    private void NoxRadioCelcius_ActionPerformed(java.awt.event.ActionEvent evt) {                                                 
        // TODO add your handling code here:
        NoxLayar_.setText("0");
 
        NoxRadioFahrenheit_.setEnabled(true);
        NoxRadioKelvin_.setEnabled(true);
        NoxRadioReamur_.setEnabled(true);
    }                                                
 
    private void NoxRadioFahrenheit_ActionPerformed(java.awt.event.ActionEvent evt) {                                                    
        // TODO add your handling code here:
        LayarAwal = NoxLayar_.getText();
 
        if (LayarAwal.equals("")) { //agar kalau layar kosong, tidak error
            JOptionPane.showMessageDialog(null, "Maaf...\n"
                    + "Angka di layar masih kosong");
            NoxRadioCelcius_.setSelected(true);
        } else {
            NoxSuhuuuu = Double.valueOf(NoxLayar_.getText());
            NoxFahrell = NoxSuhuuuu * 1.8 + 32;
            NoxHasilSuhu = Double.toString(NoxFahrell);
            NoxLayar_.setText(NoxHasilSuhu + " 'F");
 
            //NoxRadioFahrenheit_.setEnabled(false);
            NoxRadioKelvin_.setEnabled(false);
            NoxRadioReamur_.setEnabled(false);
            //NoxRadioCelcius_.setSelected(true);
        }
    }                                                   
 
    private void NoxRadioKelvin_ActionPerformed(java.awt.event.ActionEvent evt) {                                                
        // TODO add your handling code here:
        LayarAwal = NoxLayar_.getText();
 
        if (LayarAwal.equals("")) { //agar kalau layar kosong, tidak error
            JOptionPane.showMessageDialog(null, "Maaf...\n"
                    + "Angka di layar masih kosong");
            NoxRadioCelcius_.setSelected(true);
        } else {
            NoxSuhuuuu = Double.valueOf(NoxLayar_.getText());
            NoxKelvinSanjaya = NoxSuhuuuu + 273.15;
            NoxHasilSuhu = Double.toString(NoxKelvinSanjaya);
            NoxLayar_.setText(NoxHasilSuhu + " 'K");
 
            NoxRadioFahrenheit_.setEnabled(false);
            //NoxRadioKelvin_.setEnabled(false);
            NoxRadioReamur_.setEnabled(false);
            //NoxRadioCelcius_.setSelected(true);
        }
    }                                               
 
    private void NoxRadioReamur_ActionPerformed(java.awt.event.ActionEvent evt) {                                                
        // TODO add your handling code here:
        LayarAwal = NoxLayar_.getText();
 
        if (LayarAwal.equals("")) { //agar kalau layar kosong, tidak error
            JOptionPane.showMessageDialog(null, "Maaf...\n"
                    + "Angka di layar masih kosong");
            NoxRadioCelcius_.setSelected(true);
        } else {
            NoxSuhuuuu = Double.valueOf(NoxLayar_.getText());
            NoxRemunerasi = NoxSuhuuuu * 0.8;
            NoxHasilSuhu = Double.toString(NoxRemunerasi);
            NoxLayar_.setText(NoxHasilSuhu + " 'R");
 
            NoxRadioFahrenheit_.setEnabled(false);
            NoxRadioKelvin_.setEnabled(false);
            //NoxRadioReamur_.setEnabled(false);
            //NoxRadioCelcius_.setSelected(true);
        }
    }                                               
 
    /**
     * @param args the command line arguments
     */
 
 
    // Variables declaration - do not modify                     
    private javax.swing.JButton NoxBt0_;
    private javax.swing.JButton NoxBt1_;
    private javax.swing.JButton NoxBt2_;
    private javax.swing.JButton NoxBt3_;
    private javax.swing.JButton NoxBt4_;
    private javax.swing.JButton NoxBt5_;
    private javax.swing.JButton NoxBt6_;
    private javax.swing.JButton NoxBt7_;
    private javax.swing.JButton NoxBt8_;
    private javax.swing.JButton NoxBt9_;
    private javax.swing.JButton NoxBtAbout_;
    private javax.swing.JButton NoxBtAkarKuadrat_;
    private javax.swing.JButton NoxBtAkarKubik_;
    private javax.swing.JButton NoxBtBagi_;
    private javax.swing.JButton NoxBtClear_;
    private javax.swing.JButton NoxBtDelete_;
    private javax.swing.JButton NoxBtKali_;
    private javax.swing.JButton NoxBtKoma_;
    private javax.swing.JButton NoxBtKurang_;
    private javax.swing.JButton NoxBtPangkatKuadrat_;
    private javax.swing.JButton NoxBtPersen_;
    private javax.swing.JButton NoxBtSamaDengan_;
    private javax.swing.JButton NoxBtTambah_;
    private javax.swing.JTextField NoxLayar_;
    private javax.swing.JRadioButton NoxRadioBtOff_;
    private javax.swing.JRadioButton NoxRadioBtOn_;
    private javax.swing.JRadioButton NoxRadioCelcius_;
    private javax.swing.JRadioButton NoxRadioFahrenheit_;
    private javax.swing.JRadioButton NoxRadioKelvin_;
    private javax.swing.JRadioButton NoxRadioReamur_;
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.ButtonGroup buttonGroupSuhu_;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JSeparator jSeparator1;
    // End of variables declaration                   
}