Posts by Shintaro • 65 points
8 posts
-
-2
votes1
answer282
viewsQ: Unsupportedclassversionerror when trying to generate a jar
I compiled my code and everything and when I will open the file .jar valet says A JNI error has occured cmd: C:\Projetos\Java\Projetos\Projeto02>java -jar Gerar.jar Error: A JNI error has…
-
0
votes3
answers569
viewsQ: Import a. java into another . java
I have 2 codes: Code 1: class Principal { public static void main(String[] args){ Pessoas pessoa1 = new Pessoas(); pessoa1.idade = 1; pessoa1.nascimento = 2; pessoa1.altura = 0.5; pessoa1.nome =…
-
0
votes1
answer398
viewsQ: Identify selection of Jradiobutton
I created a code in java with 2 Jradiobuttons and need it to appear on the console which radio is selected, and when change radio, appear on the console as well. I’ve tried using the…
-
1
votes2
answers59
viewsA: How do I share information on my website with others?
If the 2°site is a single page use in php type: <form action="Para o 2°Site.php" method="POST"> <p></p>Login:<input type="text" name="Login"></p>…
-
1
votes1
answer229
viewsQ: Position components vertically with Gridbaglayout
I created code in java to position objects in the type window JComboBox and JTextField and I want them to be below each other. The code I tried is this: /*Biblioteca */ import java.awt.*; import…
-
2
votes1
answer499
viewsQ: How do I define the size and place of components?
I created this code in java to train a little and learn but I can not set the place where the JComboBox and the JTextField will appear and the size of them as I do? I want to leave them in the…
-
0
votes1
answer100
viewsQ: Code error when compiling
I created this code in Java and is giving error when compiling via CMD: import java.io.*; import jxl.*; import java.util.*; import jxl.Workbook; import jxl.write.DateFormat; import jxl.write.Number;…
-
0
votes0
answers957
viewsQ: Error: Unable to find or load main class
have tried: Unable to find or load the main file class.java I’ve tried the system and it still works like when I use it javac arquivo javac -version java -version everything works more when I use…