Skip to content

Instantly share code, notes, and snippets.

@nugraha16
nugraha16 / JavaTerbilang.java
Last active January 18, 2022 03:16
Membuat Fungsi Terbilang di Java
//package newbieilmuDemo;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;
public class JavaTerbilang {
@nugraha16
nugraha16 / Icontest.java
Created April 4, 2013 03:56
Membuat Efek Glass di Java
package newbieilmuDemo;
import java.awt.*;
import java.awt.image.BufferedImage;
import javax.swing.*;
import IconMakeOver.*;
//@Anugrah B Soe
public class Icontest extends JFrame{
@nugraha16
nugraha16 / demoJTableMakeOver.java
Created March 14, 2013 04:12
Membuat JTableMakeOver
package newbieilmuDemo;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.UIManager;
import javax.swing.border.EmptyBorder;
import javax.swing.JScrollPane;
import javax.swing.JTable;
@nugraha16
nugraha16 / menuHideUnHide.java
Last active March 4, 2020 17:26
Membuat Hide/UnHide Menu di Java
package newbieilmuDemo;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.border.TitledBorder;
import javax.swing.JButton;
import javax.swing.JCheckBox;
@nugraha16
nugraha16 / demoJButtonMakeOver.java
Created March 11, 2013 17:10
Membuat Button Make Over Di Java
package newbieilmuDemo;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.border.TitledBorder;
import javax.swing.ImageIcon;
@nugraha16
nugraha16 / PGbar.java
Last active December 14, 2015 11:39
Membuat Progress Bar di Java
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.border.LineBorder;
import com.jtattoo.plaf.acryl.*;
//@Anugrah Bagus S
public class PGbar extends JWindow
{
@nugraha16
nugraha16 / demoBlob.java
Created February 10, 2013 08:38
Tutorial Upload gambar di Java menggunakan Komponen JFileChooser
package newbieilmuDemo;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.EventQueue;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.sql.Connection;
@nugraha16
nugraha16 / MasterStaffTU.java
Last active December 11, 2015 21:28
Membuat Table Dinamis di Java
package kearsipansurat;
import javax.swing.*;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableCellRenderer;
import javax.swing.table.TableColumn;
import javax.swing.table.TableColumnModel;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.JasperReport;
@nugraha16
nugraha16 / autonumberDemo.java
Created January 29, 2013 06:47
Membuat Autonumber Huruf dan Angka di Java
package newbieilmuDemo;
import java.awt.*;
import javax.swing.*;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.JTableHeader;
import javax.swing.table.TableCellRenderer;
import java.awt.event.*;
import java.sql.Connection;
import java.sql.DriverManager;
@nugraha16
nugraha16 / EntryPelanggan.java
Last active December 10, 2015 13:59
Membuat No Urut di Table,create autonumber in jtable
package penjualanku;
import javax.swing.*;
import javax.swing.table.DefaultTableModel;
import java.awt.*;
import java.awt.event.*;
import javax.sql.*;
import com.jtattoo.plaf.mcwin.*;
import java.sql.Connection;
import java.sql.DriverManager;