Questions tagged as 'java'

0
answers

How to change 2 different colors to the same JTextField?

Hello, I'm doing a typing program and what I need to do is change the color of the text according to the text that is typed correctly, I do not know if it can be with a JTextField since I could only change the color but to all the text and what...
asked by 05.10.2018 / 20:03
0
answers

I need a method in java netbeans to show me the students that are in low performance, I'm doing it with parallel vectors

public String EstudiantesBajos(){ float bajos = getNotafinal(0); int pos = 0; for (int i = 0; i < Get_Tam(); i++) { if (bajos > getNotafinal(i)) { pos = i; bajos++;...
asked by 05.10.2018 / 21:42
0
answers

How to make a tabMenu scrollable on primefaces

I can not find info about this topic, you can add the attribute scrollable="true" to a tabView but in my case what I need is a tabMenu, I'm using primefaces link , I do not want it to look like this when my browser opens: I would like...
asked by 08.10.2018 / 00:51
2
answers

What is the difference between using the JUnit class and using the console to test?

I have used JUnit several times, however, the question I have is, what is the difference between using JUnit and showing something by console? Let's give 1 example, if I wanted to know if I ordered a number arrangement well, the...
asked by 07.10.2018 / 22:54
0
answers

Consume WebService created in JAVA from VB.NET you eat attributes

I am using VB.NET 2008, creating an application where I intend to consume routines from a Webservice developed in Java (an eFactura provider). Of those N routines that are available, I can use any of them without problems. But there is one in...
asked by 24.10.2018 / 22:12
0
answers

Why is validation not working? What would be the regular expression?

<input id="iniciarsesionnombre" placeholder="Usuario" pattern="/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/" required type="text" class="validate white-text"> <script> $('#iniciarsesionnombr...
asked by 25.10.2018 / 00:03
0
answers

Put two buttons together in Java Swing

I'm doing a job in which I want a map to be displayed (in this case, the state of Veracruz) that map is divided into sections, which I represent with a button as the user clicks on that area , you can access the information about it, the problem...
asked by 24.10.2018 / 21:23
1
answer

error: can not find symbol method getDownloadUrl ()

Hello I can not find out what the problem is with this error, this is the code snippet that I use: if (task.isSuccessful()) { FriendlyMessage friendlyMessage = new FriendlyMessage(null,...
asked by 08.10.2018 / 13:36
0
answers

CreateFont () from strings

Hello! I need to make an import of Processing that contains the typography (ttf or otf) in String format inside the main code to be able to load it in the same way that you can do it with images, since LoadImage () works from an array of integer...
asked by 15.10.2018 / 12:42
0
answers

List in Table java

Good day, the problem is the following, I have an ArrayList of Employees and that I need to show in a JTable the problem is that you should search for an id, when looking for it you should only list the data of that person, it turns out that whe...
asked by 15.10.2018 / 08:16