all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 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