Good evening people from Stack Overflown, I write pq I have a problem and I would like to see if you could help me
A teacher sent us an exercise where you should create a shopping cart and by pressing the submit button you should show the res...
I have 2 jtextfield and I want to validate the number of characters they type in them
text_root_username = new JTextField();
text_root_username.addKeyListener(this);//////
text_root_password = new JPasswordField();...
I want to send a Json with this format
{
"tarjetas": [
{"nombre":nombre, "id": id, "lista": lista, "idLista": idLista},
{"nombre":nombre, "id": id, "lista": lista, "idLista": idLista}
...
]
}
I build it like t...
I have to make a class hierarchy in which I have
1 - Product
1.1 - Book has Digital Book - Physical Book
1.2 - Clothing has Pantalon - Shirt
I am asked to implement the interface Comparable to compare books for its isbn (attri...
I have to solve an exercise in which they ask me to make an interface, the statement is as follows:
Construct an ArrayReals class that declares an attribute of type double
[] and that implements an interface called Statistics. Content
...
private void PLAN_DE_PAGO_CREDITO() {
int cntCuotas = 14;
int totalVrCredito = 1.400.000;
DefaultTableModel tableModel = (DefaultTableModel) TB_PLAN_PAGO.getModel();
for (int i = 1; i <= cntCuotas ; i++) {
int valorCu...
How can I save a .PDF file in / my_folder with the current date as file name?
val date = Date()
val timeStamp = SimpleDateFormat("dd-MM-yyyy HH:mm:ss", Locale.getDefault()).format(date)
val dir = "${Environment.getExternalStorageD...
I have the following code:
public class getTag2Html {
public static void main (String[] args) throws IOException {
String tag = "<p>";
URL web = new URL("http://www.insalfonscostafreda.cat/web/");
//...
Currently I have a code that executes a query to a database in oracle which returns about 200,000 results and then I run the resultset to build a csv.
The problem I have is that sometimes, some values of a column of the resultset reach nul...
I have the following list
listNivelesPersona2 = nivelesPersonaService.findNivelesPersonaConsultaHorario(cvePersona);
I want to recover the last record of the time of entry and exit, I do the following
for (NivelesPersona nivelesPerson...