user-interface

Refactor or Rewrite UI Layer from Scratch

In most cases it is better to refactor than rewrite a full codebase. We have quite interesting situation. In our application business layer is pretty good. With unit tests, separation of concerns, etc. It does have some problems, but it can be refactored. However UI layer is outdated. It is ASP.NET + some AJAX, but we want to migrate to...

Is There A Standard Way To Allow The User To Select A Text Viewer?

In my Windows desktop program, I want to be able to allow the user to select a text viewer that my program will use. By default, I'll have it set to be the program (s)he uses to view .TXT files, and I can find that easily enough from the Registry. But he may want to change to use Notepad or Wordpad or some other program (e.g. UltraEdit)...

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...

Show a form on all worksheets in an Excel file

I am writing a little generator script (using Excel VBA) to generate a bunch of source code, given various input from users. Currently I have one 'generator control' worksheet that provides access to the generation scripting tools. Here there is a button that pops up a little form with various generation options. Each portion of sourc...

Visually wrap/cycle items around in WPF container?

I have a WPF/C# situation where I have a horizontal list of items and the user can navigate forward and backward through the list. Assuming the list has 5 items, below are three mock-ups of the UI (initial, and after the user clicks the right arrow twice. < [1] [2] [3] [4] > < [2] [3] [4] [5] > < [3] [4] [5] [1] > So, basically, the ...

Switching from MDI to SDI and Back Again

This sounds like it would be a simple task, but I'm running into some issues. I have some fairly straightforward code for my C# application: private void SwitchToSdi() { MainWindow mainWindow = GetMainWindow(); for (int index = mainWindow.MdiChildren.Length - 1; index >= 0; index--) { Form f...

jquery ui tabs problem

hi good people, been a while I have had my hands full with a cold but I came back to a problem we never found an answer to, it the homepage of a site I am workin and I said that my tabs would just scatter on a resolution less than mine or around it but not quite. I am on a 1280x800 screen and it displays no problem but as soon as I drop...

Is a Download class a bad candidate for immutability?

I have a class that i use to do downloads. The class is observable and i use it as a swing UI model object too. However it is too slow, both to start (from the http handshaking i presume so not much i can do about it probably) and from synchronized access. The interface of the class is: public File getDownloadedFile() public String get...

Interface hierarchy design pattern?

I'm in the early stages of developing a C++ multi platform (mobile) application which has a graphical user interface. I'm trying to find a good way of abstracting the actual UI/windowing implementation. Here is basically what I have tried so far: I created an interface hierarchy Screen +Canvas +Form +Dialog Control +EditBox +Che...

Android empty list layout

Android empty list layout Whatever I do, I can't get the empty tag to display. Inside my tabs, I've got: <LinearLayout android:id="@+id/thisParticularTab" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <TextView android:id="@+id/LastUpdated" android:layout_width="fill_parent" a...

How Do I Add A TLabel To The Menu Bar in Delphi?

I use Beyond Compare (a great program), and was very impressed when it displayed a "New Version Available" label on its Menu Bar. I clicked on it, up popped an install new version box, it installed, the program restarted itself and there was the new version and no more label. I thought that was a great feature. The label is there promin...

What's the second-best way to make a skinnable user interface component?

I've been asked to make one of the components, which mimics a real-world appliance, in our application have a custom appearance, which varies depending on the make of the appliance being mimicked, so I need to make it skinnable. Now, I'm aware that the best way to do custom appearances in user interfaces, is not to do that at all; but I...

Is there any command to update UI immediately?

I want to update a progress bar from running 1 to 100 with this code. for (int i = 0; i <= 100; i++) { System.Threading.Thread.Sleep(100); progressBar1.Value = i; } But the result is, the UI freeze until looping finish. I know Dispatcher can help, but I don't want to split function. Is there any command to update UI immediat...

Slider control in Android...is SeekBar really my best/only option?

I'm using SeekBar as a slider because I can't find anything else, but I have to do so much hacky work because it doesn't allow me to set a minimum value or go in between ints. So, any time I need a slider to start at a value other than 0 or return a floating point number, I have to set a max value that doesn't describe the true max valu...

placing widget in listbox/dropdown in gwt

hi, i am using gwt to build my web site. i would like to create a dropdown/listbox that contains no just text but also images, meaning that in the drop down there will be a what ever widget that ill create. please advise jaimon ...

Very basic WPF layout question

Hi All, <StackPanel> <GroupBox> <StackPanel Orientation="Horizontal"> <ListBox></ListBox> </StackPanel> </GroupBox> </StackPanel> How do I get this listbox to be maxiumum size, i.e. fill the group box its in. I've tried width="auto" Height="auto", width="stretch...

Looking for guidance on writing tutorials for users

Hi, We are developing a desktop application.We are writing tutorials for users in a wiki.I was looking for some guidance ..good practices when writing such tutorials. regards ...

Ask the user or try not to bother him?

I have an application that might receive a net request for data from another computer. The data can be grouped into several categories so that filtering can be made upon it. In this situation two things can happen: I give the user the ability to filter the information he wants to send (thus reducing bandwidth and providing the user wi...

What are some methods of analyzing a website for user experience, usability, and accessibility?

I'm a recent graduate who is looking to get a job doing user experience. Next week, I have a technical interview in which I will be given a website and will have to talk about its usability issues as well as come up with ways of improving the user experience. I feel I have the natural skills to do this and have been doing a fair amount o...

ui tabs ver 2.7 jQuery error when i switching from jQuery 1.1.3 to jQuery 1.3.2

I have a problem , i'm using jQuery plugin from http://www.stilbuero.de/jquery/tabs/ , plugin for tabs and that enable history support for Tabs ui tabs ver 2.7, i switched from jQuery 1.1.3 to jQuery 1.3.2 and it's given the error in firebug uncaught exception: Syntax error , unrecognized expression: [@href$="#fragment-1"] , the plu...