Questions tagged as 'java'

2
answers

Update a JTextArea - Constantly

Very Good to all, I have a problem in terms of constantly changing values of a JTextArea, the only thing I want is that by changing several times the value of the component with its method .setText (); I will replace it and show it effectively,...
asked by 23.01.2018 / 17:27
0
answers

How to run something similar to WindowClosing with JasperViewer?

If WindowClosing is used to run an event on a jframe when closing it, How could you run an event with jasperviewer when you close your window? The reason for this is to ask the user if he wants to generate a pdf of the jasper or just close it....
asked by 16.01.2018 / 07:40
0
answers

Help, I can not connect from Netbeans with Sql Server

I've been making several attempts but it has not worked. My connection string is this: public String conectar() throws ClassNotFoundException { try { Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); String...
asked by 16.01.2018 / 13:31
0
answers

He stores everything but only shows me the last

I have a problem and I have not been able to solve it, obviously I am wrong but I have not been able to notice my error, the thing is that I want to print a header and a content which contains Barcode and Quantity, to a QR moment to put the resu...
asked by 12.01.2018 / 21:01
1
answer

Problems installing Eclipse in Fedora

I have years in Ubuntu but I'm just taking my first steps in Fedora, I work a lot with the IDE Eclipse, I already install the JDK, but I have errors when installing Eclipse, here I leave the command and the error:    ./ eclipse-inst       No...
asked by 13.01.2018 / 16:07
2
answers

Problem showing special characters JAVA-Kdb

I extract the data from a DB through a connector, but when it comes to showing them in a list in a jsp, it shows them to me like this: How can I format the Strings when I take them out or what can I do to show them with their accents an...
asked by 24.01.2018 / 11:27
1
answer

Load variable value into a function in another function

I'm doing a simple game to learn how to program for Android with Kotlin. I am afraid of an activity (game) of the game and when you find a number it takes you to another atcivity (Finish), passing two information, that are in OnCreate. overrid...
asked by 13.01.2018 / 17:18
1
answer

how to cancel Alarmmanager

Hello, I have created a notification system which every so often I will check if there are notes to show them and that does it through an Alarmmanager that stays in the background cache running. That makes it perfect, but the problem is that whe...
asked by 14.01.2018 / 11:01
1
answer

Problem going from one fragment to another using FragmentTransaction

Greetings, you will see I am new in this forum as well as in androi. A couple of days ago I have been doing a small application based on a tabbed activity which has four tabs (SETUP, STATUS, CHARTS AND SETTINGS) based on a fragment and the eleme...
asked by 14.01.2018 / 16:19
0
answers

Use Arraylist where you can store data How to link Jbutton to each Object of the Arraylist in an individual way?

You see guys I have some records in my BD which I then create a List of all these records placing them in an arraylist my question is: Creating a user interface with swing, how can you give an individual button to each object of that arraylis...
asked by 12.01.2018 / 02:51