Navigator
Java UIManager
Demo Project
Desktop GUI
- JTextField/JLabel
- JProgressBar/JSlider
- JCheckBox
- JDialog/JColorChooser
- JComboBox/JList
- JRadioButton
- JSpinner
- JTextArea
- JTable
J2ME (Java Mobile)
JME (JMonkey)
Tutorial & Doc
Java Monkey Engine (EN)
JavaFX (En)

Netbeans IDE
![]()
Basic Java Code Syntax with NetBeans IDE
Java
โครงสร้างในการเขียนโปรแกรมด้วย Java
public class ClassName {
public static void main(String[] args) { program statements } } |
| keyword | |||||
abstract |
const |
finally |
interface |
return |
throws |
assert |
continue |
float |
long |
short |
transient |
boolean |
default |
for |
native |
static |
try |
break |
do |
goto |
new |
strictfp |
void |
byte |
double |
if |
null |
super |
volatile |
case |
else |
implements |
package |
switch |
while |
catch |
enum |
import |
private |
synchronized |
char |
extends |
instanceof |
protected |
this |
class |
final |
int |
public |
throw |
|||
| Data Type |
| ข้อมูลพื้นฐาน (primitive datatype) |
||
| boolean | ค่าทางตรรกะ |
true หรือ false |
| byte | ตัวเลขที่ไม่มีจุดทศนิยม |
8 |
| short | ตัวเลขที่ไม่มีจุดทศนิยม |
16 |
| int | ตัวเลขที่ไม่มีจุดทศนิยม |
32 |
| long | ตัวเลขที่ไม่มีจุดทศนิยม |
64 |
| float | ตัวเลขที่่มีจุดทศนิยม |
32 |
| double | ตัวเลขที่่มีจุดทศนิยม |
64 |
| char | ตัวเลขที่่มีจุดทศนิยม |
16 |
ฺBit |
||






