gui

How to Build a User Friendly Filter

Our application displays tons of valuable information to our users in a table. We have a filtering capablity that is based on boolean/logic searches. Even after coaching, users still tend to not understand how to use filters because AND OR > >= etc are foreign to them. This filter is easy for programmers since it is easily translated int...

Swing Generator

Hi, I need to develop some java gui using swing. A few years ago I did develop a bit with swing. But it was pretty exhausting, you see, back than there weren't much tools to help you. But I do believe today it should be easier, there must be tools. I would like to use some kind of a generator or maybe a utility or even a framework. I kn...

How do I bridge the gap between my database design and the user interface design?

I know how that question looks, but I'm quite serious. I am trying to create an application that will help me in learning databases (sql, queries, proper database design, etc). I'm using a pet project at work so I have something to focus on with actual requirements. The original project was written ("Frankensteined together", as the orig...

Using Java and its SWING library.

I am trying to code a very simple form using java but i am running into more trouble than i expected because of the way swing lays out components, I have tried various different layout managers and still cannot layout the form the way i would like. Here is how i would like the form to look: link text Does anyone have any ideas about h...

GUI controls appearing and disappearing based on user inputs

I think it's considered a bad practice to have controls appearing and disappearing and the size of the window changing in a single GUI screen dynamically based on a user's input. However, I can't seem to find a definitive reference that states this. I've been asked to create a GUI that has a text box at the top in which a user enters a...

swt GUI performance problem on linux.

We have a monitoring application built on swt and running on linux. we have few buttons and a dynamic part that changes as we click on these buttons. The problem is that if some ones click too rapidly the cpu could reach 100% and hanging forever. We observed this rapid cpu spikes only on Ubuntu Linux where as windows it runs without on i...

What patterns or idioms exist for GUI requring user to provided 4 distinct sets of login creditials?

Background: The application I am working on happens to be web-based, but the question applies to any GUI. I need to request three distinct pieces of information from the user four times -- each set is for one of four servers. There is no commonality between the sign-on for each server, or in other words, the four sets of credentials a...

Visual C# GUI stops responding when process.WaitForExit(); is used

I am creating a GUI application using Visual C# 2005 (net framework 2). I use the following code to start a process: Process process = new Process(); process.StartInfo = new ProcessStartInfo("app.exe"); process.StartInfo.WorkingDirectory = ""; process.StartInfo.Arguments = "some arguments"; process.Start(); process.WaitForExit(); I wa...

is there any rule about context menu nesting best practices . .

i started working on an app and when you right click on a grid, you get about 14 menu items. i thought it was cleaner to start to nest some of the menus as there were clean "grouping" of menu items but it caused a bit of debate. is there some guideline or best UI practice on context menus? ...

How might I grab all windows with a certain word in their titles?

I'm running gnome and have a program that spawns off a large number of separate processes each with its own gui window. I'd like to be able to selectively grab open windows whose titles match a certain pattern to close them. Anyone know a way to do this easily ? ...

Is there a language and platform agnostic declarative GUI language that isn't XML?

Basically, I'm looking for a least common denominator declarative GUI language that would be perfectly suitable for rendering with JavaScript to HTML/CSS, with Python to wxPython and with C# to WinForms... emphasis on the least common denominator. Otherwise, I'm perfectly aware this is almost impossible. Basically, JSON for declarative G...

Automatic height of edit box

My shoes application has three items stacked on top of each other (with a stack, of course), in order: A banner An edit box Two buttons in a flow What I want to do is have the banner stay at it's default size (48px) and the buttons as well (I think this may be platform specific?) and have the edit box take up the remaining area on sc...

Master-Detail GUI in .net

This type of UIs are frequently displayed in various web-Sites and .net books. Are these types of User-Interfaces acceptable and/or popular in commercial and/or customized Business Software? Please note (1) the use of Binding Navigator, and (2) the placement of Master-grid, Detail-grid and Input Area in the same form. To me a sea...

How to start to create an application GUI using C#?

HI! I am new to C# and plan to use it for my application GUI. I am trying to make my GUI similar to SPSS:http://www.spss.com/images/08/statistics%5Fscreens/ez%5Frfm-big.jpg Is this easy in C#? Is there a template that has done most of it? (Like MDI/SDI framework in MFC) Could someone suggest some big examples(some working/half-working...

Smallest functional UI unit?

Hi, I'm making a timeline with relatively small bars representing events over time. Right now they are roughly 8px by 200px (the length is variable, but all are 8px high). Is there a standard reference for what size is standard or minimum for what types of interaction? For example I just want a mouse-over on these bars to highlight th...

Tree view GUI widget/gui library that can do multiple icons?

Screenshot I'm looking to recreate this in Python; I can't find a library that seems to have what I need. Are there any GUI libraries that might possibly have this? - I have scoured wxWidgets (which is my preferred gui library) but they have nothing similar. I have a script already that uses a standard wxTreeCtrl but it has no provisi...

Handling selected objects on the GUI in WPF

I've built several user controls in WPF and they all get added to a canvas. I want to add a behaviour that keep tracks of the currently selected usercontrol. A usercontrol should be selected when: The mouse clicks on it; when it recieve focus; when either of the two above happens to a subcontrol of the usercontrol. Is there any way t...

Disabling antialiasing on a WPF image

Hi Guys, I'm writing a small Login dialog, and have embedded a banner at the top of the dialog for aesthetic reasons. All went well, except that by default, WPF anti aliases the entire image, making the text that was contained within it frustrating blurry. After a bit of Googlin', the first few pages of results showed that it's common ...

What is the rationale behind Most-Recent-Order for tab switching?

I can't understand the reasoning behind Most-Recent-Order (how Windows sorts windows when switching via Alt+Tab) when used for tab/window/document/task switching. The way Firefox does tab switching (tabs stay in a consistent order, Ctrl+Tab/Ctrl+Shift+Tab for moving to the next/previous tab) seems much more natural than switching in chro...

"Correct" way to playback user movement with xlib?

I'm trying to figure out a way to make demos for a program I've written with xlib, and I came across this, but, according to the author page: This extension is not intended to support general journaling and playback of user actions. Does anyone know of any functions in xlib that are intended to support playback of user actions? Does i...