gui

Run component action from parent in Netbeans

Hi, I am stuck with a problem in Netbeans. I created JPanel component and created an action in it. Now when I use this component in parent frame, I want to create a frame toolbar, that calls the component action. How can I do that? ...

Revalidate JPanel's parent frame

I want my panel to fit the frame when I show/hide fields. How could I notify to the parent frame to revalidate? I thought about pass the frame to my panel's constructor, but I think may have a way this is already done. I remember that there was a protected attribute in JPanel, but there isn't.. maybe i remembering the wrong component. ...

GUI style question: Icons in context menus?

Hi, It seems like not so long ago that it was standard to have icons/images in context menus and Microsoft seems to keep this up. But nowadays it seems to have disappeared in other apps: Chrome, iTunes etc. Anyone have an opinion / idea why this has happened or is it just completely personal taste (I for one like the images). A. ...

QProgressBar not showing progress?

My first naive at updating my progress bar was to include the following lines in my loop which is doing the processing, making something like this: while(data.hasMoreItems()) { doSomeProcessing(data.nextItem()) //Added these lines but they don't do anything ui->progressBar->setValue(numberProcessed++); ui->progressBar->...

How to access the theming Fonts and Colors on GTK/Gnome

Lets say i want to write a special text editor widget. How can i get the default themed colors for texts, selected text and background and which are the users default fonts? I see that GNOME does define 5 special system fonts and default sizes for this purpose in the GNOME Appearance Configuration dialog, but i haven't found a single w...

Handling right-click within a MenuItem

Is it possible to check for a right-click on a menu item in .NET? It appears that the framework doesn't expose it as an Event, but I've seen other applications (like Chrome and Firefox) which allow you to bring up a right-click context menu for a menu item. Presumably with a little event-loop magic you can do the same thing in .NET, ri...

New desktop GUI developer; can choose any platform...

I'm planning a client-server product for a tiny, low-volume, high-cost vertical market. One of the components of the product will be a desktop application, simple to moderate in complexity, for data entry and uploading to a central server from remote PCs and/or Macs via SOAP. The server is a Java web app. Customers will be choosing thei...

How to make a simple grafical interface in C# for DCRAW

Hello, i have a problem. I need to make a simple GUI in Visual Studio 2008 using C Sharp that uses a Dave Coffins DCRAW written in C but I don't know how to "connect" dcraw.c (DCRAW source code) file with Csharp... UFRAW is the example of grafical interface that uses dcraw but I can't find it's source code. My application should be very ...

UI Sketching software for Mac

Is there any application for UI sketching on Mac OS X? Something like SketchFlow on Windows. ...

Is possible to make sexy GUI with javaFX & swing ?

I would like to do a "sexy" / user-friendly / appealing GUI in java. Swing is a limited in terms of "skin" customisation. I'm thinking about JavaFX but I don't it yet, what can I achieve with this technology ? how hard is it ? do you have examples of real-life examples of Swing/JavaFX integration ? I would like to do something in t...

How to achieve interaction between GUI class with logic class

Im new to GUI programming, and haven't done much OOP. Im working on a basic calculator app to help me learn GUI design and to brush up on OOP. I understand that anything GUI related should be kept seperate from the logic, but Im unsure how to implement interaction between logic an GUI classes when needed i.e. basically passing variables ...

[Qt] How to make another window pop up that extends QWidget as opposed to QDialog?

So far I've only had my main window pop up other windows that were QDialogs and I'm not getting it to work with a QWidget. The other window I want to display was designed with the Form Editor, then wrapped in a class called ResultViewer which extends QWidget (as opposed to QDialog). What I want is to have the ResultViewer show its ui in...

In Cocoa (or maybe GUI development in general) how do you specify an arbitrary number of things tiled together?

I'm new to creating GUI's, everything I've done up until this point is using the command line. I'm trying to create a port of minesweeper to the macintosh, as an experiment, and I've got the CLI working, but I'm running into walls everywhere with the gui. The first thing it seems I have to do, however, is be able to tile n x m 'boxes' f...

How to prevent GUI (VB6) program from returning control when run from a command line?

There is a VB6 application. It can be run with command line parameters to create some report in a text file. The problem is that when started from a batch file, application returns control immediately, so the following commands start executing. I need these following commands to wait until the VB6 app finishes its work. How to achieve ...

Where can I find other free web UI interfaces?

I'd like to know where I can get more web UI interfaces like the ones at: http://www.webguitemplates.com/ ...

Problems with .net and toolbar, menu & status bar rendermode (blue) and standard form (grey)

Hiya, I'm a bit of a newbie to .NET so please ignore my ignorance. If you look at the above image (a complete prototype, ignore black bits :)) you will see lovely menus, toolbars & statusbars all using windows XP render mode and in a funky blue. Look at the form, labels, checkboxes and other buttons and you see horrible old school win...

Application with both console and gui mode

Hi, I have a python console app. Like most python console apps it uses the OptionParser module to take arguments. I've now developed a GUI for my app using wxPython and i'd like to integrate the two. I'd like my app to be run both from the console and from the OS's UI. When it is invoked from the console it runs as a console app and whe...

"Subforms" associated with tree view in VB

I am using VB Express 2008 to demonstrate my ideas for an improved UI for an existing product for my colleagues at work. The current UI has a certain page with ten tabs, allowing the user to define up to ten "things". The available choices for each of the ten "things" are all the same. On each of the ten tabs, there is a checkbox to ena...

BlackBerry - Consuming Click Event from ButtonField

I've developed UI application in blackberry. On Button Click event I want to display result of adding two number. How to handle this event in java app of Blackberry? ...

How to add wordwrap for ChoiceElement in the ChoiceGroup while developing GUI using Java ME?

While developing GUI using Java ME- I get the wordwrap for the text being shown on ChoiceGroup, but the text on the ChoiceElement doesn't get shifted to the new line if the length of the text exceeds the size of screen. How can we get the wordwrap for the text being shown on the ChoiceElement? ...