Category "user-interface"

How do I add user input from JTextfield to Text file

I've been trying to create a simple register form using GUI and I am having a hard time in saving the user inputs from JTextfield to a txt file. So far this is

In eclipse, I select create runnable jar file, but the file generated is normal jar

I have seen tutorials wherein the generated files properties it is meant to say: executable jar file, however, mine solely says .jar file. I use JavaFX and scen

Can't get widgets to line up properly in GTK3 and Python3

I've written a GUI to set the sensitivity for the trackpoint on my Thinkpad. It's written in Python3 and GTK3, and the widgets for adjustments are laid out on a

how do you make a transparent overlay for a specific window that doesn't block interactions beneath said overlay in pyqt5

Im trying to make a simple helper overlay that display info over a window but doesn't interfere with interactions on said window(click through overlay). I prefe

KeyListener does not handle keystrokes java

I'm creating a game with a level constructor.According to the idea, the player creates a level with the mouse, places the robot, cargo and loading location, and

Modeling a 4x4 Grid for Simple Game Using Looped ArrayLists in Java

I am meant to create a game in Java that specifically uses looping Arraylists to create a 4x4 grid. I have a Grid class, made up of an ArrayList of 4 Rows, a Ro

i can't change screen kivy

how can i change screen when i click to any button in my main screen for example in may program (bad 01: imene, bad 02: kamel, ...) to screen name "value_secree

Gitlab Runner to open GUI on windows (Shell runner)

I would need a GitLab Runner to open a program, in my case Unity3D and to start running a scene. For this I selected a shell runner to run a batch script. The f

WinUI HyperlinkButton is not displayed underlined

I am using the WinUI technology. I would like to display a HyperlinkButton in my XAML. The problem is that the HyperlinkButton is not displayed underlined. But

Missing cursors in WPF

Windows Forms has the cursor types Cursors.NoMoveHoriz, Cursors.NoMoveVert and Cursors.Default. These identifiers do not exist in WPF. Is there a way to obtain

Python tkinter - Display all the checkbuttons selected

I created a GUI with 2 input boxes and a list of checkbuttons (derived from list 'a') with scroll. Now, I want to display all the checkbuttons which have been s

AttributeError: 'str' object has no attribute 'tk' when click button [duplicate]

Here is my code: window = tk.Tk() version = tk.Label(text="hi", fg="orange", bg="black",

Storyboard mirroring after localization in iOS

I have an iOS app. I started working on it without localization. The app is RTL-language-oriented. Now I wanted to localize the app so I created localization of

Best QWidget or item to use to display a variable in a box

I would like to ask which QWidget or which Qt GUI item would be best to use to display a variable that will change during the lifecycle of the program, in a box

ListView doesn't separate objects from doc

I'm trying to create scrollable list of posts, but instead i got static non-scrollable bloc of strings, which is overflowing. Example: Oveflowing: @override

JFrame not "disposing" on actionperformed method

Background: I am creating a login browser page before my main UI(myGUI) page is displayed. I am using a HashMap to store the correct username and password combi

Why is are the images being cut off?

The images in my 'tiles' are being cut off at the sides. I am trying to create a tile for each 'product' that displays an image, name and subtitle. Everything n

How can I compare User and password input to a text file?

Heyoo! I'm creating a simple login form using the swing package in java and I am having trouble in checking if the username and password is correct or not. this

Load and use a Glade layout in GTK2/C

I was trying to load a Glade layout into a GTK2 C code. It consists of a window in which there is a VBox with 2 elements: a label and a button. I want to associ

Gtk::DrawingArea's size_allocate signal not captured

I want to code a hand-free drawing soft using gtkmm. So I derive the Gdk::DrawingArea class and override it's on_size_allocate() function to initialize the surf