+ 1
How to create a alert box in JAVA ?
Please give Code to create alert box in JAVA
1 Odpowiedź
+ 1
First show your attempt we are not here to provide codes but we can help you in your problems
by the way you may try this :
import javax.swing.*;
public class OptionPaneExample {
JFrame f;
OptionPaneExample(){
f=new JFrame();
JOptionPane.showMessageDialog(f,"Hello, Welcome to Javatpoint.");
}
public static void main(String[] args) {
new OptionPaneExample();
}
}