0
Alert Boxes in Java
I’ve been trying to create alert boxes in Java, but when I try to run the program, how can I tell if the Alert Box worked or not???
9 ответов
+ 3
Place these 3 lines in your JavaScript section
alert("Hello World");
alert("I am testing these windows");
alert("Test Complete");
then run
+ 2
You mean JavaScript (instead of Java) ?
+ 2
its okay..i'll do so
+ 1
Mayowa ~ no disrespect but you need to post this as another q&a thread as it is off topic ~ Please and Thank you and "we" will respond there asap...
0
No, i mean Java.... is there no possible way to create an alert box in Java?
0
This may be of use to you
https://stackoverflow.com/questions/5287538/how-can-i-get-the-user-input-in-java
0
import java.io.BufferedReader;
import java.io.InputStreamReader;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s = br.readLine(); int i = Integer.parseInt(br.readLine());
0
import java.util.Scanner;
Scanner reader = new Scanner(System.in);
// Reading from
System.in System.out.println("Enter a number: ");
int n = reader.nextInt();
// Scans the next token of the input as an
int. //once finished reader.close();
0
pls guys how can i apply c.s.s to my code using any editor e.g quoda,quick edit and anWriter