Skip to main content
Filter by
Sorted by
Tagged with
550 votes
9 answers
152k views

I'm developing an application which displays images, and plays sounds from a database. I'm trying to decide whether or not to use a separate JFrame to add images to the database from the GUI. I'm ...
Peddler's user avatar
  • 6,085
1607 votes
47 answers
859k views

Which is the simplest way to update a Label from another Thread? I have a Form running on thread1, and from that I'm starting another thread (thread2). While thread2 is processing some files I would ...
CruelIO's user avatar
  • 18.7k
6430 votes
35 answers
1.5m views

What is the difference between the units of measure px, dip, dp, and sp?
capecrawler's user avatar
  • 68.3k
53 votes
2 answers
89k views

I'm new to the GUI world/OO design pattern and I want to use MVC pattern for my GUI application, I have read a little tutorial about MVC pattern, the Model will contain the data, the View will contain ...
KarimS's user avatar
  • 3,902
44 votes
3 answers
178k views

Hey I am new to python and am using tkinter for my gui. I am having trouble using the frame.after method. The goal is to make a random letter appear every 5 seconds. Here is my code: import random ...
user2456977's user avatar
  • 3,964
100 votes
8 answers
149k views

I'm writing a program with Python's tkinter library. My major problem is that I don't know how to create a timer or a clock like hh:mm:ss. I need it to update itself (that's what I don't know how to ...
Diego Castro's user avatar
  • 3,488
9 votes
2 answers
13k views

When creating a new project in netbeans, if i select JAVA Desktop application, it creates some code which I DO NOT RECOGNISE AT ALL as what i had learnt in swing. It imports packages such as : org....
YD8877's user avatar
  • 10.9k
118 votes
8 answers
59k views

I was reading about JSF that it's a UI framework and provides some UI components. But how is it better or different from number of components that are available from jQueryUI, AngularJS, React, Vue.js,...
sushil bharwani's user avatar
14 votes
1 answer
10k views

For a school project, I need to make a simple paint application that can draw lines, ovals, and rectangles. The assignment specifies that I need toolbar buttons and menu items for each type of shape. ...
Austin Hyde's user avatar
  • 27.6k
12 votes
2 answers
23k views

I have been searching a lot and I still don't know how you access variables from different classes in python. In this case I want to access the variable self.v from PageOne class to PageTwo class. ...
Supachai Abusali's user avatar
589 votes
15 answers
269k views

What is the difference between a View's Margin and Padding?
Ragunath Jawahar's user avatar
7 votes
4 answers
23k views

I have a JTable, that has one column that is text which is not editable and the second column is a check box that displays boolean values.... Now what i want is, when the user selects multiple rows ...
sasidhar's user avatar
  • 7,802
34 votes
9 answers
248k views

I'm looking for a way to automatically format the date in a VBA text box to a MM/DD/YYYY format, and I want it to format as the user is typing it in. For instance, once the user types in the second ...
nobillygreen's user avatar
  • 1,608
24 votes
4 answers
29k views

I'm currently writing a template Java application and somehow, I'm not sure about where the ActionListeners belong if I wanted to cleanly follow the MVC pattern. The example is Swing based, but it's ...
jaySon's user avatar
  • 815
315 votes
14 answers
245k views

Python works on multiple platforms and can be used for desktop and web applications, thus I conclude that there is some way to compile it into an executable for Mac, Windows and Linux. The problem ...
Teifion's user avatar
  • 112k
112 votes
15 answers
195k views

I'm trying to change the default color for the options menu which is white: I want a black background for every item on the options menu. I've tried some shoots like android:itemBackground="#000000" ...
feragusper's user avatar
  • 1,256
4 votes
2 answers
11k views

I just installed Visual Studio 2012 express for Desktop. I can't see any place to create a GUI application with C++ ! Where is this "Windows Form Application" used to exists in Visual C++ 2010 ? Where ...
PeakGen's user avatar
  • 23.1k
16 votes
2 answers
47k views

When the user clicks a button, I want to show a popup form that should have at least two JTextFields and two JLabels, so using JOptionPane.showInputDialog is not a possibility.
nunos's user avatar
  • 21.6k
35 votes
2 answers
45k views

Possible Duplicate: Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on Okay, I know why this is giving me this error: Cross-thread operation ...
user avatar
121 votes
19 answers
108k views

I have a bitmap and I want to crop a circular region from this bitmap. All pixels outside the circle should be transparent. How can I do this?
Altaf's user avatar
  • 5,170
37 votes
11 answers
87k views

I have created a login window in tkinter which has two Entry field, first one is Username and second one is Password. code from tkinter import * ui = Tk() e1 = Entry(ui) #i need a placeholder "...
Pierce's user avatar
  • 383
6 votes
1 answer
9k views

In dialog I need to display one group of controls if some combo is checked and another group of controls otherwise. I.e. I need 2 layers and I need to switch between them when combo is checked/...
Oleg Vazhnev's user avatar
  • 24.2k
145 votes
4 answers
76k views

I am testing out Bootstrap responsiveness navbar and I have a demo website. When I resize the browser on a desktop, it all works fine including the nav bar which become collapsible menu with a small ...
Laurence's user avatar
  • 7,853
453 votes
8 answers
1.5m views

What are some of the common ways to left align some text and right align some other text within a div container in bootstrap? e.g. Total cost $42 Above total cost should be left ...
user462455's user avatar
  • 13.7k
201 votes
11 answers
470k views

I would like to get file path as input in my Python console application. Currently I can only ask for full path as an input in the console. Is there a way to trigger a simple user interface where ...
Mustafa Zengin's user avatar

1
2 3 4 5
112