Questions tagged as 'gui'

1
answer

SDL - C - How to check if the mouse pointer is over an image?

Hello, I'm starting a learning about the graphical interface SDL in C and I intend to make a menu. In this menu there will be the options and when the user hover over some, it will change color (yellow to green) only I'm having difficulty in this...
asked by 11.06.2016 / 19:44
2
answers

Screen to enter values

I have this code and would like to create a user screen to enter values and they are inserted into their respective arrays, CREDIT (array a) and DEBIT (array b) and create a run button to run the code and print the response. Could you give a hel...
asked by 07.04.2016 / 21:14
1
answer

JTree does not update when starting GUI

I have a problem that I can not see the solution: Simply put, my Java program has a swing GUI that contains a JTree (TreeModel custom for system directory view) There is a button to select a directory (via JFileChooser), after selecting JTree...
asked by 14.12.2015 / 16:18
1
answer

How to get the contents of the selected cell in the Grid QTableView in Python?

How can I get the content of the cell selected in a Grid of type QTableView in Python ? Here is the code below: __author__ = 'Dener' from PyQt4.QtCore import * from PyQt4.QtGui import * import sys class Model(QAbstractTableModel...
asked by 02.09.2015 / 01:01
3
answers

Where can I download / install the Eclipse IDE, the WindowBuilder package?

I need to create applications with graphical interface in Java. I use Eclipse Mars as IDE to program in Java, I noticed that it does not have in its default installation the WindowBuilder package to make graphics screens in programming, like the...
asked by 30.07.2015 / 16:08
1
answer

Using Napkin LookAndFeel

I'm using the Eclipse IDE and I have this code: package br.com.caelum.argentum.ui; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import javax.swing.JButton; import javax.swing.JFrame...
asked by 08.10.2014 / 01:22
1
answer

How do I handle the JOptionPane.showMessageDialog () options?

How do I handle user choices in JOptionPane.showMessageDialog() ? For example, when the user chooses ok the program continues normally, if he chooses cancel the program executes another line of code.     
asked by 07.05.2014 / 16:59
0
answers

How to leave a function of an object superimposed on that of another object?

I'm having problems with my code for a D3D9 function, the "Create" function always overlaps, I need another function of the Draw object to overlap with the others. class cDrawItem { private: bool IsInitialized; // Para saber se o objeto fo...
asked by 12.11.2017 / 21:30
0
answers

UI and .NET desktop development [closed]

I'm beginning to develop a commercial application in C #, however, I have my doubts about how I'll do the visual part of the application (UI). I have worked with Windows Forms and WPF. In the Microsoft Build event in 2014, it was said that Wi...
asked by 28.01.2017 / 12:45
0
answers

paintComponent () method deleting images in JFrame

I need to generate a map according to a txt file that I get as input. Each font in my txt file corresponds to a terrain type of the map. I've created Image arrays that will store the images I can use for each type of terrain and draw thos...
asked by 28.07.2016 / 05:07