gui

setting the side for the radio button gwt

hi, how can make the text of the radio box appear on the left side of the button instead of the right? on left to right languages the standard is the text on radio button is on the right of the radio button, i need to write ui for a right to left language so the test should be placed on the left of the radio button. any advice?? ...

Is it OK to change a model outside the Swing worker thread?

In a "serious" Java GUI app, you'll have models behind many of your GUI elements: A DocumentModel backing a JEditorPane, for example, or a ListModel behind a JList. We're always told not to make GUI changes from outside the Swing worker thread and given SwingUtilities.invoke...() for working around that. Fine, I can live with that! It's...

Programming Languages for writing GUI application

Other than .NET or Java, which language can be used to write an application for Windows and Linux? ...

datagrid and horizontalScrollPolicy

look at this code: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" horizontalScrollPolicy="off"> <mx:VBox horizontalScrollPolicy="on" width="100%"> <mx:DataGrid> <mx:columns> <mx:DataGridColumn width="5000" /> </mx:columns> </mx:DataGrid...

Good application for automated testing of .Net GUIs written in C#

Background The company I work for is developing a .NET Graphical User Interface (GUI) written in C# and we're almost ready to test it. Question Is there a list of standard accepted programs that do the following? Will be able to run automated testing of the GUI Integrate with VS2008 (not required) Create a log file of the test or ...

Why GetPixel() is so slow using Ruby (or probably Perl or Python too) and how to do it by other methods?

I tried using Win32's GetPixel() with Ruby and it is really slow even on a Quad Core Intel machine. I think for example, if I get a really small region such as 100 x 10 pixels = 1000 pixels and it can take 30 seconds to complete. Is there a better way such as by getting a region all at once? ...

BlackBerry - Resize the width of horizontal manager

Hello All, Is it possible to resize the width of horizontal manager. I want to create two buttons in horizontal manag, set the background border. I am using the following code for that. It is working fine. But as there are only two buttons and doesn't occupy the entire screen of 320 width, setting border is happening only for those two ...

Scaling an image to its parent button size in GTK?

I have a GTK layout with a widget on the left of an HBox deciding the maximum height I want, and a VBox on the right containing three buttons, each containing only an image and no text. The images are a GTK stock icon, and so have the stock storage type. Using expand=True, fill=True packing the buttons without images are exactly the hei...

Introduction to GUI programming with c

Hello there, I'm new GUI and programming as whole and so far I have a general understanding of c and have spent quite some time writing console applications. I'm trying to learn GUI but have so far been unsuccessful. I've tried learning wxwidgets (through official documentation), gtk (through official documentation) and win32 (forgers...

How to create an SDL pop up menu ?

Hi, I've seached around how to create a pop up menu in a SDL window application using c++ ? I haven't found any clues ! I would like to have something that looks like this : http://www.youtube.com/watch?v=Mc%5FCE9OiHvA I've tried to use glutMenu, but it doesn't work ... Thanks ...

C# GUI, have to display a huge table and make it sortable

Hi, I am making a small C# GUI application that reads table-like (cells, rows, columns) data from a binary file and displays it to the end user. Some files are very small (5 columns / 10 rows), but some are very big (245 columns and almost 50,000 rows). The one and only method I found to easily display a MsExcel-like table was DataGridV...

How to remove "restore defaults" and "apply" button in custom RCP Preference Page

When creating a preference page in RCP, e.g. something like: public class MyPreferencePage extends org.eclipse.jface.preference.PreferencePage implements IWorkbenchPreferencePage how can I remove the "Restore default values" and "Apply" buttons which get added by default. Using this.getDefaultsButton().setVisible(false); this.getAp...

BlackBerry:Built-in Date Picker API?

Hi All, In my application screen, i am having a field, where user can to choose his DateOfBirth. I want to popup any built-in "Date" calendar or some built-in Date picker to user, so that it will look professional. As i'm new to this development, i wanted to know there is any code sample available to popoup the built-in Date Picker? N...

How to group Widgets in my Qt app?

Easy question (I hope!). This is my first Qt app and I'm struggling with how to have groups of elements on my Gui. I need about 8 standard QWidgets (labels, edits, buttons) for each File object, which can be added or removed dynamically. So ultimately I need to put all the File objects inside a QVBoxLayout inside a QScrollArea. But fi...

use EventObject.getSource in Actionlistener

Hi, I am refactoring some code for an assignment - currently the view has lots of buttons and menus and one action listener which decides what to do by using event.getSource(). From what I've read people seem to think its better for each GUI component to have its own action listener, perhaps created through some kind of factory. However ...

Displaying multiple icons in a single cell of a QTableView

I am writing a small gui app with QT4.5 in QtCreator. The main screen on the app contains a QTreeView with two columns, the first is text the second is a group of icons. These icons represent the last few states of the item displayed in the row. I am not sure what the best way to do this is. I have currently implemented this by gener...

only JLabel not showing up...

I am writting a simple application which has a button that opens a new window then display a simple GUI/Text to acccept inputs from a user. but for some reason, I can get JLabel to be displayed on the new window. The application has following structure: +mainFrame - JFrame +newFrame - JFrame -+newPanel - JPanel ----title - JLabel ...

Blackberry - Issue with background image when scrolling down the screen

Hello BB experts, I am programmatically drawing the background image(320*480 size) for my application home screen as below. Screen does have scrollbar facility added. Also screen is having many other controls too like Label, EditField etc in multiple horizontal manager. My problem is, when i scroll down the screen, the background image...

BlackBerry - Fun with FieldManagers

I am trying to make a View class that provides a Horizontal or Vertical layout depending on how it is created. I'm using a delegate to achieve this. class View extends Manager { private Manager mDelegate; public View(Manager inDelegate) { mDelegate = inDelegate; // the delegate is the only child of "this" manage...

How do I actually get somewhere in GUI programming?

I am an undergraduate student. I was exposed to basic programming couple of years back in school. Till now I have an understanding of Core Java, Core Python and basic C and C++. Every time I start off with some GUI programming so as I can start off with a project of mine, I get boggled by the sheer amount which is to be done, API to be ...