Posts Tagged ‘Programming’

Prime Number in Java

This item was filled under [ Java, Tutorial ]

Simple Code “Prime Number In Java”
class Prime_number {
public static void main(String[] args) {
int num = 11; //number that u want to check
int i;
for (i=2; i < num ;i++ ){
int n = num%i;
if (n==0){
System.out.println(“not Prime!”);
break;
}
}
if(i == num){
System.out.println(“Prime number!”);
}
}
}

Continue reading...

Tagged with: [ , ]

Factorial In Java

This item was filled under [ Example, Java, Programming, Tutorial ]

Simple code “Factorial in Java”
public class Factorial {
public static long factorial( int n ) {
if( n <= 1 )
return 1;
else
return n * factorial( n - 1 );
}

public static void main( String [ ] args ) {
for( int i = 1; i <= 10; i++ )
System.out.println( factorial( i ) );
}
}

Continue reading...

Tagged with: [ , ]

Contoh Manipulasi Data Mahasiswa di VB.Net

This item was filled under [ Project, VB .NET ]

Implementasi DataGridView VB.NET.
Download File di bawah.
DataMahasiswa.zip
DataMahasiswa.rar
Sebelum dijalankan, Ganti Nama Database sesuai dengan database anda.

Continue reading...

Tagged with: [ , , , ]

Mobile Application - Meet 2

This item was filled under [ Mobile Application ]

Materi Pertemuan 2
Download Contoh Project:
Mirror 1
Mirror 2

Continue reading...

Tagged with: [ , , , ]

Mobile Application - Meet 1

This item was filled under [ Mobile Application ]

Materi Pertemuan 1
Download Contoh Project:
Mirror 1
Mirror 2
Software
Sun Java Wireless Toolkit 2.5.2 windows
- Mirror 1
- Mirror 2
Sun Java ME SDK 3.0 Windows
- Mirror 1
- Mirror 2

Continue reading...

Tagged with: [ , , ]

Java Platform, Micro Edition

This item was filled under [ Mobile Application ]

Java Platform, Micro Edition, or Java ME, is a Java platform designed for mobile devices and embedded systems. Target devices range from industrial controls to mobile phones and set-top boxes. Java ME was formerly known as Java 2 Platform, Micro Edition (J2ME).
Java ME was designed by Sun Microsystems; the platform replaced a similar technology, PersonalJava. [...]

Continue reading...

Tagged with: [ , , , ]

Konversi Suhu

This item was filled under [ Example, Programming, Project, Visual Basic ]

Download Source Code :
==> Mirror 1
==> Mirror 2

Continue reading...

Setting EditPlus

This item was filled under [ Java, Programming, Tutorial ]

Untuk bisa meng-compile dan menjalankan Java di EditPlus kita perlu menghubungkan EditPlus dengan Java itu sendiri.
Untuk itu diperlukan menu Compile dan Run yang dikonfigurasi melalui pengaturan Tools pada EditPlus.
Berikut langkah-langkahnya.

Continue reading...

Tagged with: [ , ]

Class Libraries Of JAVA

This item was filled under [ Java, Programming ]

Java libraries are the compiled byte codes of source code developed by the JRE implementor to support application development in Java. Examples of these libraries are:

The core libraries, which include:

Collection libraries that implement data structures such as lists, dictionaries, trees and sets
XML Processing (Parsing, Transforming, Validating) libraries
Security
Internationalization and localization libraries

The integration libraries, [...]

Continue reading...

Tagged with: [ , ]

Special Classes Of JAVA

This item was filled under [ Java, Programming ]

Applet

Main article: Java applet

Java applets are programs that are embedded in other applications, typically in a Web page displayed in a Web browser.

// Hello.java
import javax.swing.JApplet;
import java.awt.Graphics;

public class Hello extends JApplet
{
public void paintComponent(Graphics g)
{
g.drawString("Hello, world!", 65, 95);
[...]

Continue reading...

Tagged with: [ , ]