Questions tagged as 'java'

2
answers

How can I do a java program that chooses random words?

Hello, good greetings, I would like to ask you one thing they sent me to do a program that randomly picks up an option of the machine and a user option I was doing it with import java.util.Random; but I realized that this is only applicab...
asked by 21.11.2018 / 20:00
0
answers

how to show images in jsp, which are outside the project folders?

I want to show on a page jsp images that are uploaded by FTP to a route of a server that is in network, my problem is that it does not show them, it only does it if they are in a project folder, but this is not functional because there are too m...
asked by 21.11.2018 / 21:32
0
answers

database on Mac and Windows [standby]

I have a question, I'm working on a java database from netbeans, most of the time I do it on Windows, but at home I do it on a Mac, that's where the Calvary begins, because the routes of access to the database change and when you return to work...
asked by 21.11.2018 / 19:42
0
answers

Move the components in a java layout

I'm using a borderlayout to locate components in the north, center and south, but when I change the size of the window during the execution to enlarge the components, I want to change its size individually without affecting the others. In this c...
asked by 21.11.2018 / 19:03
0
answers

Display list in Data Table

I am programming a list that fills a data table only that the data is not displayed within the table.    vista.xhml <p:dataTable var="users" value="#{usuarioTable.usuarios}"> <p:column headerText="Nombre Personal"&...
asked by 21.11.2018 / 19:46
0
answers

How to make a label of one frame pass to another label but of a different frame?

My doubt is that they ask that when looking at information in the database in the first label it will capture certain information and also in some textfield it will capture certain information but when clicking the textfield it will open another...
asked by 21.11.2018 / 04:06
1
answer

Enable the jbutton as long as the jtable is not empty. JAVA

It seems to be simple, but this is already taking me 2 days. I simply have a jTable and three buttons. Add, Modify and Delete. The data is added, modified and eliminated perfect. In the JFrame constructor where I have these components, the Modif...
asked by 21.11.2018 / 01:14
0
answers

org.apache.jasper.JasperException: java.lang.NullPointerException

I have the following error, but it only happens when I add the tag , the user class is instantiated, but when the label is removed, it works normally. ] 2     
asked by 21.11.2018 / 01:59
1
answer

Change the color of the text of a node after pressing the button

to see if you can help me. I need to change the text color of a particular node when a button is pressed because, that object is passed adds to a JList and to know that it is already listed. This does not create problems for me. And when it i...
asked by 21.11.2018 / 10:37
1
answer

JDesktopPane and JInternalFrame in JAVA MVC with Listeners

** Hello good day, in classes we had to see the MVC design pattern to implement it in a future project. Testing how to separate the code from the views and that I made one using JFrame -> 2 botones + JdesktopPane ; and each button op...
asked by 21.11.2018 / 07:49