+ 1

How to create a alert box in JAVA ?

Please give Code to create alert box in JAVA

13th Apr 2020, 3:35 AM
Shlok Jathar
Shlok Jathar - avatar
1 Respuesta
+ 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();   }   }  
13th Apr 2020, 4:08 AM
Ayush Kumar
Ayush Kumar - avatar