gui

What are the differences between different GUI toolkits and language bindings?

As far as I can tell, all GUI toolkits are basically the same. They all have some sort of base Widget that everything else that can be drawn inherits from. They all have basically the same widgets - Window, Scrollbar, Button, Dialog, FileSelector, DrawingArea, Menu, Container, etc. They all use event driven architecture with a "main lo...

When to use a spinner vs a form object

When is using a spinner object appropriate, rather than using a standard text entry object (a.k.a. form, or text box)? I am looking for information on "best practices" in GUI. ...

Your favorite GUI client for SVN

The only client I keep hearing about is TortoiseSVN. Is this the best option or do you have another preferred client? ...

Reading HTML file to view in JEditorPane

Hello. I have a Java program which prints to a HTML file. Another method reads in this file and prints it to the editor pane. My problem is that the color orange doesn't work. My code is as follows: print.println("<html><p><br><font color=\"orange\">"); When I pass this html file into the editor pane all the colors are right. Red, ye...

What's a good embedded browser for a pygtk application?

I'm planning on using an embedded browser in my pygtk application and I'm debating between gtkmozembed and pywebkitgtk. Is there any compelling difference between the two? Are there any third options that I don't know about? It should be noted that I won't be using this to access content on the web. I'm mainly using it for UI purpose...

How to keep track of thread progress in Python without freezing the PyQt GUI?

Questions: What is the best practice for keeping track of a tread's progress without locking the GUI ("Not Responding")? Generally, what are the best practices for threading as it applies to GUI development? Question Background: I have a PyQt GUI for Windows. It is used to process sets of HTML documents. It takes anywhere from t...

Why won't my JMenuBar show up?

I'm trying to make a GUI in java, but JMenuBar has been giving me a hard time for two days. Can someone please tell me why it isn't showing up? import java.awt.*; import javax.swing.*; import javax.swing.JPanel; import java.awt.event.*; import java.awt.image.*; import java.io.*; import java.util.Arrays; import javax.imageio.ImageIO...

Strict C Win GUI programming

Good day folks, I'm in a need of a bit of guidance. Basically, I'm a webdev who knows some C from the past, but I've only developed somewhat simple console apps for *nix. Shortly, I want to develop a simple Win program with a GUI and not get my hands into any of the following technologies: .NET C# Java C++ (especially this one) Becau...

Java GUI layout problems

Hi, I'm writing a small Java GUI program, and I'm having some issues with Java not laying things out properly. I haven't done much Java GUI code lately, so I'm having trouble seeing where the problem lies. final JFreeChart chart = createChart(dataset); final ChartPanel chartPanel = new ChartPanel(chart, false); chartPanel.se...

How to avoid random UI?

Say for instance I'm going to do some seat of my pants coding adding a feature to an enterprise app. What are some good examples/tenants/cardinal rules a person can follow for making a fairly complex setup/config screen not look like feet. What I'm looking for is along the lines of "Don't put one thing in a group box". But I'd also li...

How can I redirect stdout to some visible display in a Windows Application?

I have access to a third party library that does "good stuff." It issues status and progress messages to stdout. In a Console application I can see these messages just fine. In a Windows application they just go to the bit bucket. Is there a fairly simple way to redirect stdout and stderr to a text control or other visible place. Id...

Java: GUIs must be initialized in the EDT thread?

Hi, I'm Jason. I'm having a bit of a problem with the Substance look and feel (https://substance.dev.java.net/). My problem is more general. I've already got my GUI written and it works fine, but when I use a Substance Look-and-feel, it requires all GUI initialization to take place in the EDT thread (Event Dispatching Thread or somethin...

How to create a sidebar panel in OpenOffice?

I want to create an OpenOffice.org plug-in that adds a sidebar. I have successfully installed OpenOffice.org, OpenOffice.org SDK and NetBeans OpenOffice plug-in. I am familiar with Java, AWT and Swing, so no need to explain these concepts to me. Now, I want to create a sidebar Panel(or JPanel) in OpenOffice.org Writer application. How ...

The good 3D GUI engine

I know WPF is one of good 3D GUI engine, but I want to know other good 3D GUI engines? ...

How to display animation in a JTable cell

I am looking for a way to display an animated progress indicator (animated GIF, a rotating wheel rendered through Java2D etc., no preference here) in a table cell until the value that is to be finally displayed has been computed or retrieved. So far I have just put a static "pending..." text into each cell that is not yet ready to speed...

great first run experience

Hi, Does anyone have good examples of software that has a fantastic first run experience? Some software obviously just works "out of the box". However, there is significant software that requires some configuration before it's usable. Any examples would be much appreciated. Cheers, Yi ...

Is there a known Win32 Tkinter bug with respect to displaying photos on a canvas?

I'm noticing a pretty strange bug with tkinter, and I am wondering if it's because there's something in how the python interacts with the tcl, at least in Win32. Here I have a super simple program that displays a gif image. It works perfectly. from Tkinter import * canvas = Canvas(width=300, height=300, bg='white') canvas.pack() ...

Which GUI is similar to listbox on iphone?

I'm trying to move a former app from windows mobile to iphone. Any ideas which GUI in Interface Builder has the similar function as listbox? ...

ASP.Net - Good UI Design Question for Managing large number of items

Hello all, We're currently working on a solution that involves managing a large number of parts for a project. In our database, we have a project table and we have a parts table. Those parts can be assigned to multiple projects and vise-versa. This is done through a link table. We're happy on the database side and it wont be changed, h...

Hiding row labels

I'm using Qt4 to create a table, using the QTableWidget class. I get something like this: Problem is: I want to hide the row labels (i.e. the numbers). I just care about columns. I want to get this: How can I accomplish this? ...