Posts by Douglas Sabino • 23 points
7 posts
-
0
votes1
answer1990
viewsQ: What is the most efficient method to remove an item from Arraylist?
I would like to know which of the methods available by the class ArrayList is more efficient to delete an item from the list.
-
0
votes0
answers231
viewsQ: How do I list an Arraylist within a Jlabel
Person would like to know how to print an Arraylist inside a Jlabel, I am using Joptionpane but it shows one element at a time would like to show all the elements in a single window. Follow the code…
-
0
votes1
answer1381
viewsQ: How to print an Arraylist inside a Joptionpane?
Staff would like to know how to print an Arraylist inside a Joptionpane, I leave down the code I am using but not working: import java.util.ArrayList; import javax.swing.JOptionPane; public class…
-
1
votes2
answers1982
viewsA: How to call a method within a System.out.println?
Yes there is but in that case it will not work because your methods are as void you would have to put the methods of the return msm type of it and it is clad add a Return, I will show you how would…
-
-2
votes1
answer74
viewsQ: How to trap a Jmenubar on top of the Jframe?
I forgot how to do this, I remember I have to put one BorderLayout(... NORTH);. How do I put a JMenuBar in a JFrame?
-
0
votes1
answer268
viewsQ: Close screen through Jmenuitem
I’m doing a simple system of enrollment of students and teachers and wanted to, when interacting with a JMenuItem called get out of, the program closed. I did the whole algorithm, but this with that…
-
-1
votes1
answer1234
viewsQ: How to clean an int variable in java?
I am developing a program that has a menu that if I type 1 register a course and if I type 2 enrollment a student both ifs are working type if I type 1 register a course close the console open again…
javaasked Douglas Sabino 23