Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/User-input-Graphical/Java/user-input-graphical.java
Normal file
9
Task/User-input-Graphical/Java/user-input-graphical.java
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import javax.swing.*;
|
||||
|
||||
public class GetInputSwing {
|
||||
public static void main(String[] args) throws Exception {
|
||||
int number = Integer.parseInt(
|
||||
JOptionPane.showInputDialog ("Enter an Integer"));
|
||||
String string = JOptionPane.showInputDialog ("Enter a String");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue