This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* @author Resa C.R | |
*/ | |
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.*; | |
import java.io.*; | |
import java.util.*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @ author Resa C.R | |
*/ | |
import javax.microedition.lcdui.*; | |
import javax.microedition.midlet.*; | |
import javax.microedition.rms.*; | |
import java.io.*; | |
public class BukuTelepon extends MIDlet implements CommandListener | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.swing.JOptionPane; | |
public class membuatOptionPane | |
{ | |
public static void main (String args[]) | |
{ | |
JOptionPane.showMessageDialog(null,"Selamat datang di gist github"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* dataMHS.java | |
* | |
* This program modify by Resa C.R | |
* | |
* This program is free software; you can redistribute it and/or modify | |
*/ | |
import java.util.Scanner; | |
public class dataMHS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* BufferReader.java | |
* | |
* Copyright 2012 resa cr <resa@resa cr> | |
* | |
* This program is free software; you can redistribute it and/or modify | |
*/ | |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* terminalCalc.java | |
* | |
* Copyright 2012 resa <resa@resa> | |
* | |
* This program is free software; you can redistribute it and/or modify | |
*/ | |
import javax.swing.JOptionPane; | |
public class terminalCalc { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @ author Resa C.R | |
* This program can modify and share | |
*/ | |
public class Balok extends PersegiPanjang //konsep inheritance java | |
{ | |
private int tinggi; | |
public void setTinggi(int tinggi) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
*@ author resa cr | |
* This program can modify and share | |
*/ | |
import java.sql.DriverManager; | |
import java.sql.Connection; | |
public class Koneksi | |
{ | |
private static Connection koneksi; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
*@ author resa cr | |
* This program can modify and share | |
*/ | |
import org.eclipse.swt.graphics.Point; | |
import org.eclipse.swt.graphics.Rectangle; | |
import org.eclipse.swt.widgets.Display; | |
import org.eclipse.swt.widgets.Shell; | |
public class membuatFrame |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Kalender.java | |
* | |
* Copyright 2012 resa <resa@resa> | |
* | |
* This program is free software; you can redistribute it and/or modify | |
*/ | |
import java.text.SimpleDateFormat; | |
import javax.swing.*; |