Questions tagged as 'java'

1
answer

Simple project in jsf is giving more error

This is my screen <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"...
asked by 05.07.2016 / 20:58
0
answers

Consultation CNPJ Federal Revenue Service

I am researching about the automation of the issuer registry of my system, I am trying to find something that helps me to automate the process, the idea is for the user to enter the CNPJ, and to return information about it to him. CNPJ typed, I...
asked by 05.07.2016 / 14:39
0
answers

Close one jInternalFrame before opening another

I'm doing a browser project (where I myself create the "pages" in netbeans design - All offline ) just to learn on vacation. But I have a doubt, I believe it is simple but as I am starting I am still trying to understand the logic. I have a...
asked by 07.07.2016 / 19:57
0
answers

Method with return

create a method that returns the variable HUMIDITY; But I need to make a Thread to update the value of the humidity every now and then. (The humidity is read through the Arduino). Is it necessary to make a thread or not the need? Here's the c...
asked by 07.06.2016 / 02:31
0
answers

How to keep the context of a List off the Thread

I wanted to load the list on the Thread and then have access to it after the action ends. It has this code but at the end of the thread the list is null; Would anyone have a tip to help me? public class ThreadListarClientes { private...
asked by 02.06.2016 / 20:39
1
answer

How to create table relationships in mysql [closed]

I am starting with a relational database and I have difficulty relating tables, I am a layman in the field. I ask for help by indicating one / some clear and objective books on the subject. Thanks for the attention     
asked by 18.10.2016 / 14:45
1
answer

Blocking any other application via Service

Talk, I'm creating a business application and I need to block any other application that the user tries to open. I'm creating a service for this, but it's not working. When run, it does not see the other applications when opened by the user....
asked by 18.10.2016 / 14:16
1
answer

Change button after clicking JSF

I've got the following problem, I have these two buttons that do: X: Retrieves the value of a graph +: Adds the value of a graph Ineedittolooklikethis:WhenIclicktheXbutton Itswitchestothe+button,astheyhavedifferentfunctionsasyoumightnotic...
asked by 17.10.2016 / 20:01
0
answers

Sql of cities and states of the world

Hello, good evening. Alright? I'm doing three JComboBox in java. One for nationalities, cities and states. I need all the cities and states in the world. I found in github this list link . But there are only states and cities in Brazil. D...
asked by 03.06.2016 / 16:13
2
answers

Call another class (Java)

How do I call a "class" of type jFrame for example from my main class? My jFrame has its own main that gives the setVisible true for it to appear, however I wanted to access this main from my main class, so I can setVisible through the main one...
asked by 05.06.2016 / 05:53