Try some of this code out!public class Test { private static boolean status=false; //before instance Test() { if (status) { System.out.println("Only once instance only"); System.exit(1); }else { status =
How to create your class can only be instance once
Kamis, Maret 23, 2006Por: Yulius Hari | | 0 komentar
Setting Database without setting the DSN control
Howdy, here a little trick for you, who want connect your database using access databse without setting the (F**K***) DSN!just try this codeClass.forName("sun.jdbc.odbc.JdbcOdbcDriver");Connection cn = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=NamaDatabaseAccess.mdb");
Por: Yulius Hari | | 0 komentar
Java Newbie
Rabu, Maret 22, 2006So you are newbie in Java, dont be affraid, just brace yourself and remember to work hard ok!!just give you some little trick!public static void main (String [] args){}did
Por: Yulius Hari | | 0 komentar
Java Donk!
For you who want to learn about JAVA Language Programing and find any question, please contact me or reply at this post!if I can answer it, I will share
Por: Yulius Hari | | 0 komentar
Walah aku lupa
Selasa, Maret 21, 2006WADUH! ternyata setelah sekian lama aku ga tau, ternyata aku juga punya BLOG to??dari dulu aku malah bingung2 cari web hosting yang gratisan, tapi enak, ternyata aku dah ada
Por: Yulius Hari | | 0 komentar