Questions tagged as 'java'

1
answer

Integer array conversion in String

I am a beginner in Java and would like to learn how to convert an array of integers to a String.     
asked by 24.06.2014 / 05:50
4
answers

Oracle11g - SELECT command problems

I have the following error:    java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly   ended This happens after I run the following line of SQL : /* Listar todas as reuniões do utilizador onde esteja convidado*/ St...
asked by 23.10.2014 / 12:03
1
answer

Join two Arraylist

I made a ArrayList ( nomeTimes ) that receives a number of team names according to for below: for(int i = 0; i<numeroTimes;i++){ String nomeTime=entrada.next(); nomeTimes.add(nomeTime); } My idea...
asked by 03.11.2014 / 18:18
1
answer

Java program only works on the development machine

I created a Java application in NetBeans. This application has a GUI and uses some external Jars. After doing the Clean and Build in the dist folder of NetBeans appeared a Jar (main class) and a folder called lib (which has the external Jars...
asked by 10.11.2014 / 23:23
2
answers

Problems when executing class in Java

When I'm going to invoke the method of this class: package newpackage; import java.util.ArrayList; import javax.swing.JOptionPane; public class Operacoes { /* DESENVOLVIDO BY: "IIJM Team" */ Cliente clientes; ArrayLis...
asked by 22.02.2015 / 19:40
1
answer

Can I get an image of any directory on my PC to put on my HTML page? [closed]

Can I get an image of any directory from my pc, or can I just get images from the project directory only? I'm using JSF: h:graphicImage url="C:\teste\rcvp2_180420160013_0000000_1.jpg" />     
asked by 03.10.2018 / 21:49
4
answers

Develop applications for iOS using Java

I'm developing my CBT and it builds on the cross-platform Java concept. But now I ran into a problem Apple's XCode IDE does not understand Java packages. Is there any tool or extension that allows me to develop my iOS application in Java?...
asked by 23.04.2014 / 18:54
1
answer

What is the name of this part of the code?

Let's say I create a class ... public class Teste1 { public void Teste1(){ System.out.println("Olá"); } public void teste2(){ System.out.println("Oi"); } } Teste1 is...
asked by 11.04.2017 / 23:28
2
answers

Use same sort algorithm with different attributes

Scenery: I'm developing a small application as a task for my course. As the intention of the work is precisely to show what we learned during the lessons, I can not escape much of what I already have, in other words, I can not go to "very adv...
asked by 27.04.2017 / 19:57
1
answer

How to resize the monitor application?

I have an application that opens a JFrame , having at the top a JMenuBar . Until I call a MenuBar item a JTabbedPane is hidden and as soon as a menu item is chosen, a Tabbed with jPanel is opened. In this jPanel I have s...
asked by 22.03.2017 / 13:03