Комментарии:
really THANK YOU SO MUCH SIR, I could finish ma project! From 2021
ОтветитьThank you!
ОтветитьTHANKS BRO :)
Ответитьmy code is not workig I wanted to add more sentences but its doenst work
ОтветитьYou told us how to use it. What really is an option pane?
Ответитьhelpfull
ОтветитьWHATS WRONG WITH THISSSSS
import javax.swing.JOptionPane;
public class main
{
public static void main(string [] args);
{
int g = -1;
while (g < 0)
{
string input = JOptionPane.showImputDialog ("Cant go back now haha :).");
if(input.length () > 0)
{
g++;
System.out.printin ("dang.")
}else
System.out.printin ("thats right your trapped")
}
}
}
Doesn't work for me
here's my code
package cally;
import javax.swing.JOptionPane;
public class Cally{
public static void main(String[] args) {
int ugh = 0;
while(ugh == 0) {
String name = JOptionPane.showInputDialog("Please enter your name: ");
ugh++;
if(name.length() > 0) {
JOptionPane.showInputDialog("Hello " + "Farhan" + "!");
}else{
System.out.println("OMG ENTER YOUR NAME!!");
}
}
}
}
BASICS and you use the while for a simple input output for Joptionpane??
ОтветитьVery useful! Thank you very much!
Ответитьthanks for the nice vidio just i have question withe any editor u are work beacuse he dont want to work for me with eclipse editor the class joptionpane with all the dialog box . i hope u can help me
Ответитьthankyiu very nice
ОтветитьWhich app is this for java??
ОтветитьHey could you tell me how I can change the size of a JOptionPane. Thanks.
ОтветитьI can't import javax.swing.JOptionPane
Ответитьwtf is this
Ответитьits saying else is invalid
ОтветитьHow do I get the X and Y values of my current cursor position and display it on the DialogueBox?
Ответитьdassss my dawwwwwg
ОтветитьIn showOptionDialog, once I get the input by user clicking on the boxes, how do I then use that input?
Ответить