I'm trying to generate a report by doing only the design in ireport, then I put the .jrxml in netbeans and I try to compile it, then at the time of getting the report path it throws the following exceptions:
javax.faces.FacesException: #{rela...
I am registering in the MySQL database values such as time and date.
Code JAVA :
public String getDataPedido() {
StringBuilder horaSistema = new StringBuilder();
GregorianCalendar pegarHora = new GregorianCalendar();
hor...
I've used setPreferredSize and setSize on the color1 button but no effect in the application, it continues using the entire application.
public static void janelaPrincipal()
{
//FRAME
JFrame janela = new JFrame();...
I created a script where within this script there is a loop of type while . The condition of this while is escolha != 1 . Everything works ok, but in the middle of this while I run a Java application where I make some...
I did as follows:
int matriz[][] = new int[numLinhas][numColunas];
//FOR PARA RECEBER OS VALORES E POSIÇÕES INFORMADAS PELO USUÁRIO
for(int x=0; x<numLinhas; x++) {
valor = Integer.parseInt(JOptionPane.showInputDialog("Info...
I have a legacy JSF / Demoiselle 2.4 application that did not have the good practice of building unit tests. In order to satisfy new requirements, I have implementations to make and I intend to build them using TDD.
However, when writing my f...
Is there any way for as long as the user types in a EditText go by inserting hyphen (-) every 4 characters typed? In the same way some licenses work, the dash (-) is already inserted automatically.