Posts by Blastoise Opressor • 136 points
4 posts
-
1
votes1
answer69
viewsA: Jpanel does not appear in Jdialog
One of the problems is that you are trying to create the colored panels during the panel drawing process Desenha, so nothing is displayed. The method paintComponents serves to draw that component on…
-
1
votes1
answer75
viewsA: Why is it that when I put on the "Jcombobox" component of Swing, my show looks like this?
In java-swing, using the Layout Managers to organize the components as needed, and when we do not inform any, Jframe by default uses Borderlayout, which is basically a layout that organizes the…
-
0
votes1
answer160
viewsA: Formulario.java:28: error: cannot find Symbol Botaoaction action = new Botaoaction(t);
Here I tested and worked normally. If you are running through the command terminal or prompt, compiling and running the class within the "swing" directory itself, try using the command below: java…
-
0
votes1
answer23
viewsA: Retrieve a Jcombo content in another class
If they are distinct classes, that is, they are in different files, and it is not a static element, you will need an instance of the class Form1 in Imprimir to access the component. Assuming you…
javaanswered Blastoise Opressor 136