This weekend we had the switch to DST here in my area, I have some machines running ubuntu server 16.04 with java applications.
All of them with JBOSS , POSTGRES for one application and one with GLASSFISH , MYSQL .
If I type the com...
I made a program that converts integers to Roman numbers in Java, but the program does not execute.
What can it be?
Follow the code:
import java.util.Scanner;
public class Teste {
public static void main(String[] args) {
S...
I have a choice-box. In my choice-box there is a list of colors to be selected by the user through the interface. Every time the user selects a color, the background of that same choice-box is the same color that the user selected. By default, t...
I have this code, and would like to know how to call a method from switch...case .
public static void opcoes(){
System.out.println("Selecione o Algoritmo de Substituicao Desejado");
System.out.println("1 - FIFO");...
I'm trying to do a line break in a Array , however I'm not having success trying to run split() , in short, I want to make a table of 10 rows with 2 columns that get the values of list and list2
public class Ultimos10...
The getSource () method returns the event source, is there any method that returns the event source type, whether it was a jlabel, or jbutton, something like this?
What is the best kind of variable for very accurate calculations?
I have used double and BigDecimal and the rounding is diverging
much in the end result.
In the database used by my application I have a table that I defined as temporary that I write some data but at the end of the process I no longer need the information registered in that table, how should I make this table be cleaner would it be...