Questions tagged as 'java'

0
answers

Sockets in java and sending multiple files

I want to send multiple files and I did the part of the selection of files and if I select a file to send, it does very well, yes I sent it, but the problem is when I want to send more than one file, when sending more from a file it tells me tha...
asked by 18.02.2018 / 16:53
0
answers

Increase the size of a component in Java

I have a jToolbar and LayeredPane and I need to change the size of these buttons, how could I do it? I need to do it to make them look bigger. I remain attentive     
asked by 18.02.2018 / 00:49
1
answer

Spring maven Webjars loads css bootstrap but not jquery or js

I have the following pom file: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 h...
asked by 15.02.2018 / 18:20
0
answers

Play .wav filtered

Hi, I'm something new in Java, I need to do this: Here is my code: import java.io.File; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.JTextField; impor...
asked by 14.02.2018 / 21:26
1
answer

Play and stop button for .wav file

I have this code: import java.io.File; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JPanel; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt.GridLayout; import java.awt.Flow...
asked by 14.02.2018 / 17:10
0
answers

I can not access a socket server from an external computer when I run it within Eclipse

I am developing a server in JAVA. If I generate a JAR, any internal or external client application to the computer can access the server. If I execute it from Eclipse to be able to debug it, external computers do not connect. I will appreciate a...
asked by 15.02.2018 / 08:40
0
answers

Problem to execute the scripts

I'm calling a JSP from a servlet, when running everything works fine, but the scripts do not work. I am calling the jsp in the following way: RequestDispatcher rd=request.getRequestDispatcher("Registro.jsp"); rd.forward(request...
asked by 13.02.2018 / 15:52
0
answers

HashMap with one or more values in Java

I am new to this forum so if I do not follow some rule, please excuse me. My question is: How could I create a HashMap that contains one, or several values? I've thought about the ArrayList, but I want each ArrayList to be unique for each key...
asked by 07.03.2018 / 17:22
0
answers

Remove Spacename from the classes generated by the WSDL client

I have a problem generating the classes of a wsdl in JAVA, in the XML response I do not want the namespace to be generated: Output: <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:consu...
asked by 20.02.2018 / 16:59
0
answers

Help with Last Page Footer Ireport

I have a problem with a report in Ireport 4.8, which is that it has the page footer (this goes well in all the pages) and the Last Page Footer, the latter is not printing it at the end of the page (which is just where it should be), but prints i...
asked by 20.02.2018 / 18:39