All Questions

2
answers

Change Background Color of a JLabel by pressing a JButton from another window

I would like to know how to change the background color (setBackground) of a JLabel by pressing a button from another window. (JLabel in class Window1) lblLuzC = new JLabel(""); lblLuzC.setOpaque(true); lblLuzC.setBackground(Color.RED); lbl...
asked on 25.05.2018 / 00:17
1
answer

Problem when creating WebService in Golang

I am doing a WS , where I make a query to the database, as the database to which I made the query is Informix , the connection was made through ODBC , the problem that I have is when creating the json due to the variabl...
asked on 25.05.2018 / 20:20
1
answer

UpdateProgress ASP.NET C # does not close

I have a page in which I have an ImageButton that generates an excel with a report. The problem is that by clicking on the button the UpdateProgres is executed but it never finishes executing, although the excel is generated and I can download...
asked on 31.05.2018 / 16:05
1
answer

modify the name of an input with jquery

Someone can help me, I am dynamically creating elements dynamically inputs with the .clone () method with jquery but I want to change the name of the input that clono, for example if I have the following input This is the input that clono &...
asked on 31.05.2018 / 16:31
1
answer

Footer in Bootstrap 4

I'm doing a website I have a problem with the footer with the responsive. I clarify that there are text and images above the footer and if I do this: .footer { position: absolute; bottom: 0; width: 100%; height: 60px; /* Set the fix...
asked on 24.05.2018 / 04:22
1
answer

Does not play an animation on Android

I'm trying to make an animation for an image, but the problem is that the animation is not running, does not show any errors, put my image I want to animate in a class that extends Fragment . This is my class that extends from Fragment: pu...
asked on 01.06.2018 / 20:28
1
answer

I do not know how I can get out of the if after the continue, since an infinite cycle is done

print ("Ingrese hasta que numero multiplo de 5 quiere sumar") x= int(input()) y=5 num=x%y while x>0: if num==0: print("Numero correcto") break if num!=0: print("Numero incorrecto, ingrese nuevamente") x=...
asked on 25.05.2018 / 05:14
1
answer

MYSQL select recursive between 2 tables?

I have two tables (exam) and (note) that are related to each other by the column "id" of the table (exam) and the column "id_examen" of the table (note). I want to get the average of the grades for each exam. For example, the exam with id...
asked on 03.06.2018 / 07:49
1
answer

Icon associated with a file type in Linux

I have the following code to get the icon associated with a file type, implemented for Windows : #if defined(Q_OS_WIN) #include <QFileInfo> #include <QtWinExtras/QtWin> QIcon IconFromFile(const QString& fileName) { QIcon...
asked on 29.05.2018 / 05:56
2
answers

Error consulting text with emojis in mysql

Update ... I have the following table: CREATE TABLE 'chrislat_cms'.'opciones' ( 'id' INT(11) NOT NULL AUTO_INCREMENT , 'nombreOpcion' VARCHAR(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL , 'valorOpcion' LONGTEXT CHARACTER SE...
asked on 29.05.2018 / 04:22