gui

Validity Check, which button image should i use?

Hello, in my software there is a validity check, which checks each input in my form. The user can click on a button to do this check. My question is, if there is a recommendation which button-image should be used for a validity check, to get a homogenous gui in a windows-environment. Or are there some gui-design-guidelines which describ...

Best practice for passing values from a non-UI thread to a UI thread in an Eclipse plugin application

Is there a best practice/shining example out there of passing values from a non-UI thread to a UI thread in an Eclipse plugin application? ...

List management problem...

I have a datasource, which I show as a list in a Flex UI. I refresh the list periodically, One of my UI requirements is to gracefully show when the datasource removes an item from the list, So I'm correlating the current list against the incoming datasource. The correlation process is this: Refresh the datasource. Loop through the e...

How to draw circle on JPanel? Java 2D

I have a JPanel for which I set some image as the background. I need to draw a bunch of circles on top of the image. Now the circles will be positioned based on some coordinate x,y, and the size will be based on some integer size. This is what I have as my class. import java.awt.Dimension; import java.awt.Graphics; import java.awt.Imag...

Java 2D. Hovering over Circle

If I draw some circles using Java2D. Is there a way display some text when I hover over any of the circles? i.e. I want to display the ID of that circle and some other stuff. ...

Update-highlight-acknowledge UI design pattern

I am working on a safety-critical multi-user system where data shown to the operator can be changed by other operators or external systems. These changes need to be highlighted in the UI and then acknowledged by the operator. Anyone aware of existing UI design pattern that captures this need? ...

GUI paradigm history

hi there I know that Apple and Microsoft were inspired by Xerox PARC in building the GUI, but my question is: from the hardware point of view, which was the switch to GUI become available? I remember that I've read somewhere about OS running on 80KB at that time. Can you explain me(give some links) about what was necessary from the hard...

Visualizing branch topology in git

I'm playing with git in isolation on my own machine, and even like that I find it difficult to maintain a mental model of all my branches and commits. I know I can do a git log to see the commit history from where I am, but is there a way to see the entire branch topography, something like these ascii maps that seem to be used everywhere...

Windows 7 Menu Bitmaps inconsistencies

I am currently adjusting a Windows Applications GUI for Windows 7. I find a (although rather cosmetic) problem with icons in menus: In XP i use Bitmaps do identify menus which are checkable. We supply a separate Bitmap for checked/unchecked state. The bitmaps have a size of 13*13 pixels: In Windows 7 though all checked Menus have a r...

SynchronizingObject for an event

With Timer objects, I can set the SynchronizingObject property to avoid having to use invoke when updating the GUI from the timer's event handler. If I have a class that instead subscribes to an event and has to update the GUI in the event handler, is there an analogous concept? Or do I have to write the InvokeRequired boilerplate code? ...

BlackBerry - Problem with EditField - line not showing

All, I am having a problem with EditField. I have created an EditField using this code under a "HorizontalFieldManager". EditField nameEditLabel = new EditField (EditField.FOCUSABLE | EditField.NO_NEWLINE | EditField.FIELD_RIGHT); nameEditLabel.setMaxSize(25); nameEditLabel.setMargin(50, 0, 0, 80); horizontalFldManager.add(nameEd...

Java: Linebreaks in JLabels?

I'm trying to make a Swing JLabel with multiple lines of text. It's added just fine, but the line breaks don't come through. How do I do this? Alternatively, can I just specify a maximum width for a JLabel and know that the text would wrap, like in a div? private void addLegend() { JPanel comparisonPanel = getComparisonPanel();...

JEditorPane can't take Google search queries, why?

Hi, I am creating a very basic web browser using JEditorPane just to teach myself Swing and GUIs in Java but am having trouble implementing a Firefox-like Google Search bar. I'm not if it's due to a limitation of JEditorPane or my lack of understanding but if I try and take the string typed into the "Google Search" bar and use the setP...

writing to GUI issue

hello, So i have a setup where two imacs, imac_1 and imac_2, are connected through firewire. imac_1 sends some debugging information to imac_2 and on imac_2 i have a program in c++ that captures debugging information.(see illustration below) Now the problem is that if i write the debugging info to the GUI (created using QT) directly i...

BlackBerry - Disable show default menu on screen open

Hi, I have labels and fields in my application screen. When i launch to a particular screen which has many labels and editfields and buttons. The problem is, when i launch a particular screen, default menu is popping up with "Show Keyboard", "Switch Applicaiton" and "Full menu" automatically when launching a particular screen. I don't w...

NetBeans: Updating GUI Source is not reflected in Design or During Runtime

I'm new to NetBeans and am struggling with how to correctly use its GUI builder. I can construct the GUI just fine with the design editor, however, when I make changes directly to the source code, those changes are not reflected in the design editor, or during run time. How can you edit the source code for the GUI directly, and have yo...

What is the best way to create a custom derived grid control?

I want to create a custom grid derived from DevExpress grid control. I just want to add several columns and add custom painting. I will then use this control in 2 different forms. The problem is that if I go straightforward and create a class like this: public class GenerateInvoiceGrid : DevExpress.XtraGrid.GridControl then I will not...

How to create the notification icon in the right side of the statusbar on blackberry?

I am able to create the notification icon in the statusbar using ApplicationIndicator class. It shows up in the middle of the screen on the indicator area. How do I create the icon in the right side of the status bar near to the wi-fi icon. Is there any way I can tell the postion where to create the notification icon in the status bar. ...

Dealing with multiple GUIs in Flash/Actionscript 3

I'm trying to figure out the best way to deal with writing multiple GUI windows using Flash Components. I thought the best way to handle this was to use a layer for each window that I want, and simply hide/show the layer I want for the window. It would be preferred to not use actionscript alone. Since each layer holds these GUI componen...

Programmatically scroll the windows mobile window

I have a form that has a number of controls on it (enough that the scroll bar is visible). How can I programmatically control the scroll window? I can fake it now by calling the .Select() method on the last control in the Form, but I'd really like to be able to scroll all the way to the bottom of the window. ...