JOptionPane in Java

JOptionPane in Java is used to provide dialog boxes such as message dialog box, input dialog box and confirm dialog box. These dialog boxes are used to get input from user or just to display information.

there are 3 common methods of the JOptionPane which is :

  • showMessageDialog()
  • showInputDialog()
  • showConfirmDialog()
Continue reading JOptionPane in Java

Create A JTree In Java Eclipse

The Java JTree class is usually used to display a tree structured data or a hierarchical structured data.

Of course in a hierarchical structured data, it has a “head” or a top data or a “root”. And in JTree it has a “root node” at the top of the tree data. That is usually the parent for all nodes inside the tree.

Continue reading Create A JTree In Java Eclipse

What Is The Java Development Kit?

What Is Java Development Kit?

Java development kit or JDK is one of the three core technology that is used in Java programming. The 3 core technology is the JVM, JRE and of course the JDK. It is really important to know the differences between these three java core technologies. And understanding how they are connected to each other is as important.

Continue reading What Is The Java Development Kit?

What Is Java Virtual Machine?

What does java virtual machine really means?

java virtual machine cross platform

A Java Virtual Machine or might also be known as JVM, is a software program which executes codes and provides a runtime environment for it. JVM enables a computer to run Java programs as well as programs from other languages that are compiled into Java bytecode.

Continue reading What Is Java Virtual Machine?