Questions tagged as 'java'

0
answers

modify a arraylist using the table

I want to modify an arraylist that is already shown on the board, but they ask me to discount items. what I want is to discount the quantity of the article from the row selected in the table. my arralist has this information cont_compras {cod...
asked by 22.10.2017 / 02:18
1
answer

linked list manually entered by keyboard

When creating the list manually by keyboard, I have the following inconvenience: the node variable only stores the current value. LinkedList1 node = new LinkedList1 (); package lista.enlazada1; import java.util.Scanner; public class ListaEnla...
asked by 19.10.2017 / 03:42
1
answer

Problem to get the cardinal of a set of integers

I can not come up with a solution to this problem because the implement the code that I developed returns me the cardinal of the array {1,5,9,5,8,1,3,3,8} is 8 when in fact it should be 5. Many thanks in advance to everyone who offers me their h...
asked by 01.11.2017 / 11:26
1
answer

Problem getting selected values from checbox in Jtable

I go through the whole table obtaining the values of the selected checkboxes the problem is that if it brings all the values except the last one selected: in this case you should print the values from 3 to 11 but do not print the latter:...
asked by 18.10.2017 / 17:22
1
answer

Calculate Car Preventive Maintenance in JavaFX

First of all, good morning, everyone! Well today I have a small problem to solve with a program that I am asked to develop in Java is to calculate the figure in mileage that a car should be maintenance . For example, each vehicle is serviced...
asked by 18.10.2017 / 16:58
0
answers

Upload data with Ajax to fullcalendar

I am working with a Jquery Plugin called FullCalendar and I intend to send the events from an ajax call but I am super novice with it, I have the following code: HTML: <div id='calendar'></div> JavaScript: $(document).ready...
asked by 18.10.2017 / 19:48
0
answers

Visualize with good format the PDF generated with JAVA

Good, I have an application made on a dealer, I have a jtabbedpane with a reports tab where I make queries or by customer code or by registration and I visualize it in a texArea in this way: The issue is that when I click on the button...
asked by 23.10.2017 / 20:13
0
answers

How to send a message when trying to delete a record that has a foreign key relationship?

What I need is that when the user presses the button to delete the record, it does not allow me to delete if it is related to another table, that is, I have a table grupo_cod, related to another one called items, at the moment to delete a record...
asked by 23.10.2017 / 16:58
1
answer

How to clean the java terminal?

Is there any way to erase everything that appears in the java terminal after using some method with System.out.println ();?     
asked by 20.10.2017 / 03:19
0
answers

Change the text style of a textarea with StyledEditorKit

I have a JMenuBar with a menu that has a button that should change the selected text to negritam but it does not work ... I do not know how to make the JTextArea know that I want to change the style of the source this is the code cla...
asked by 23.10.2017 / 22:05