[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How do you make GUIs in java- trying to make a text adventure

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 9
Thread images: 2

File: 1480636696613 (1).jpg (120KB, 768x768px) Image search: [Google]
1480636696613 (1).jpg
120KB, 768x768px
I'm trying to make a text adventure game with java...
Is it feasible?
Does anyone know how to make a GUI that would work, like a text box or something?
I would be so grateful for any help


<<<Something like this>>>

import java.util.*;

public class Anus{


public static void main(String[] args){
Scanner input= new Scanner(System.in);
System.out.println("you wake up in a strange room. Do you stand up? Y/N");
String answer=input.nextLine();

if (answer.equals("yes")|answer.equals("y")|answer.equals("Y")){
System.out.println("You stand up");

}else{
System.out.println("you stay lying there");
}

}


}
>>
Bruh making GUI in java is such a pain in the ass. If you want to make it still, please do it in JavaFx. DO NOT USE Java Swing. Its horrible. Look up JavaFx GUI
Follow this guide by the newboston
https://www.youtube.com/watch?v=FLkOX4Eez6o
>>
>>58134002
What a shitty video. 11 minutes to explain something that could be said in 2.
>>
S.B.?
>>
>>58134254
then read the docs retard, if your gonna bitch at people trying to help you.
>>
>>58134262
this.
>>
File: exit.jpg (17KB, 500x500px) Image search: [Google]
exit.jpg
17KB, 500x500px
>>58133963
>i don't want to learn anything new
>>
>>58133963
don't use java for something so trivial, use an easier language

>2016
>not being a girl
why live?
>>
>>58134254
that guy wasn't OP, I'm OP
>>58134002
thanks for helping me out man, I really appreciate it
Thread posts: 9
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.