user-interface

Combining graphics with a user interface in Java

Hey guys I've got a nice text based java program that I'd like to add a GUI to. I have dabbled with Netbeans and shouldn't have too much of a problem getting the components in place. However, the program will have to dynamically update images within the interface window, and I'm not sure what the best way to go about doing it is. Ar...

UI question: Designing for widescreen and 4:3 aspect ratios simultaneously?

I'm working on a UI which needs to work in different aspect ratios, 16:9, 16:10, 4:3 The idea is conceptually simple: Everything is centered to the screen in a rough 4:3 area and anything outside this portion of screen has basic artwork, so something like this: (not drawn to scale) Where the pink area represents whre all the UI objec...

How to display changed fields

Hi, I am working on Audit Trail for my project and I have been asked to think of how can we display the fields which have changed between two versions. I have the list of changed fields I am looking for suggestions on how to display the fields so that user can easily find out: which fields have changed what was the old and new value ...

Best way to architect JavaScript UI code with ASP.NET in terms of reuse and logic encapulation?

I am having trouble settling down to a proper practice for UI JavaScript coding. So I am looking for a smarter way to do things. I’ve been using jQuery with ASP.NET and I have been doing things like below which seems unprofessional and dumb. JavaScript UI programming has always been a mysterious to me. I know how to do it but I never kne...

Can I render this kind of drop down using CSS?

I want to buid a web page. The page contains a drop down which should look like this: Is it possible using CSS or I would need to use a image with some javascipt? ...

"Back" behavior in rich web apps, true user assumption?

Hello Community, Many client side code libraries & tool kits, for example Yahoo's YUI and Google's GWT support managing state history for the user experience. When implemented it allows a user to revert to a previous app state on the same page when they click the Back button or Backspace key. In this video from Google IO the impleme...

Decomposing an iPhone user interface -- multiple views in one xib?

I have one main view with an associated controller. I have some rather complicated toolbars that I need to switch in and out depending on user interaction. To keep things simple I manage the toolbars with my main view controller, rather than having all sorts of intertwined dependencies or really deep delegate chains. Anyway, how can I ...

JQuery UI Dialog Box and Ajax.BeginForm

Hi, I have a JQuery UI dialog box. The app allows people to create lists and this dialog lets them specify the listname. Here it is: <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <%= Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.") %> <% using (Ajax.BeginFo...

jquery ui style customization

how do i change the tab size, font size etc for my jquery accordion? ...

Is there a generally acceptable definition of (soft) realtime delays?

Hi, I'm trying to find a benchmark for how long users are willing to wait for a response from a remote service. In my case the response is for very useful but not business critical validation of data entry. I guess that there must have been some work done in the HCI space on this. If you know of a generally accepted definition for soft...

Maximum number of entries in a ListBox

What is the maximum number of entries a simple ListBox (ComboBox) should contain? There are fifty states in the US - is 50 too many? There are over 270 countries and territories in the world - is 270 too many? When should a ListBox include search or type-ahead capabilities? When should the designer consider something other than a L...

Problem with background worker

Say I have the following class/Form (semi psuedo): public partial class X : Form { private DataTable dt; private BackgroundWorker bg; public X() { dt.Columns.Add("A"); dt.Columns.Add("B"); dt.Columns.Add("C"); } private void button_Click(...) { bg = new BackgroundWorker(); ...

"My account" or "Your account" labels

I have somewhat of a strange question that is not really technical, but I do hope to collect meaningful advice. I'm building a large web application, basically a photo sharing community site. As part of this site, logged-in users can go to their profile, from which they can see their own things (images, comments, votes) as well as edit...

Is there a good javascript WYSIWYG tool that uses absolute positioning?

I'm building a site where users (with no knowledge of html/css) will custom-design simple static HTML pages. Years ago, I used a CMS that used absolute positioning with drag and drop for designing static pages, and it was a fantastically easy UI for anyone to grasp. I'm wondering if there's a javascript solution for this that I could i...

Remove centering of NSPanel window on screen

If the code already has [window center], is there anyway to change the position of NSPanel without changing the code? I don't have access to the code and I'm trying to change the position of a NSPanel window toward the bottom of the screen and off-center to the left and I've tried Interface Builder Size Inspector option but I'm not able ...

WPF Blend like UIs using DOCKY - some errors...

Hello. Im trying to use Marlon Grech's "Blend like UIs using DOCKY", located at http://marlongrech.wordpress.com/2008/01/29/create-blend-like-uis-using-docky/ and i get some erros like: Error 13 'XSoftArt.WPFengine.FrameworkElement' does not contain a definition for 'IsLoaded' and no extension method 'IsLoaded' accepting a first argum...

What's the best way to initiate a UI update after n seconds have elapsed?

My C# WinForms UI has some parameters that the user can adjust using sliders. Many parts of the UI can interactively update based on the slider values. However, some parts require a longer calculation that requires some overhead to set up. I would like to only initiate this update process once the user has stopped moving the sliders f...

Custom UIs in C++ with Qt?

Coming from C#, I've decided to learn C++ with the Qt framework. I have one question though, what is the "correct" way to accomplish an UI like this one? This may be kind of subjective, but I'm sure that stacking image labels on top of each other isn't the right way. ...

Minimum sensible button size on iPhone

Hi all, I'm designing an iPhone app that features a rather large set of onscreen rounded rect buttons. Given finger-based touchscreen UI, what do you think would be the smallest sensible button size? I need to fit as many of them as I can in the viewport without compromising the usability too much. Maybe there's an Apple-recommended min...

android emulator ui buttons from command line

I'd like to be able to access the emulator's ui buttons from the commandline or from a test script (e.g. the Back, Menu, or Home buttons.) Can this be done through the adb shell? Or does anyone know of a way to do this directly with OS X? ...