gui

How to navigate back to the previous screen in Blackberry?

Hi, In Blackberry I can navigate from one screen to the next screen, but I can't navigate back to the previous screen. Pressing the escape key in the emulator terminates the entire application. Is there any other key in the emulator to go to the previous screen or any code to navigate back? If you know please help me. ...

gui for mpi program

Hi, I have a problem about a simple mpi program.This program have some 3D points and these points are moving during the program. I created an simple code by implemented c++ and then I tried to add an simple gui. I used gnuplot library and I have a problem. When I call the gui function the gui is created and it is disappeared at the same ...

Running programs w/ a GUI over a remote connection

I'm trying to start perfmon and another program that have GUI's through a python script that uses a PKA ssh connection. Is it possible to do this? If so could anyone point me in the right direction? ...

Combo Box and Search Component in Java

My goal is to create some kind of swing component that can do two things: Function as a combo box (select from a list of values) Allow a user to type into the component and only display the relevant items from the original list (like some AJAX search boxes online) I would really like to do this by customizing an existing swing compon...

Make JTextPane adjust height to content

I'm trying to get a JTextPane to adjust its height according to whatever content I feed it. All I can do is to set a fixed height in pixels using Dimension. How do I make the JTextPane collapse/expand so it will fit to contents? I might add that I use this in a GridBagLayout'ed JPanel that has been added to a JScrollPane. ...

Building a GUI in Java

What mechanism do you prefer for building a GUI: from scratch or using GUI-building software? ...

Windows: How to test UI under high-dpi?

i want to test how my application reacts to high-dpi settings. i don't just mean 120dpi. i want to test higher dpi settings, such as: 150dpi 300dpi 600dpi 1000dpi 1200dpi My development machine's video card cannot do the resolutions required to have 300dpi, (or even 150dpi for that matter). Assuming the interface is designed to 'fi...

Use right-click with Windows Forms Button

I am writing an app where the user should be able to alter the action of a button. The user should right-click a button, and choose an option from a pop-up context menu. Once the choice has been made the button will perform a different action when the user uses a normal click. I've already gotten the "Click" event working for a normal...

Tile-like windows on Swing

I have zero experience writing applications with Swing, but I have one application with which to start experimenting. For this application, I want my window to have a variable number of small "tile"-like structures, which can be moved/closed/minimized just like windows by the user inside my main frame, and which will display, each a sma...

Are there frameworks or customizable tools to make a visual editor for my .NET app?

Hi I have an application, which performs some custom data gathering, transformation and reporting. Currently, the only way to set up and configure all the steps is to fill some large and cumbersome WinForms screens. What I'd like to do is to make a lightweight and user-friendly visual editor, where "blocks" will show data sources, data...

Implementing a log viewer GUI with C# (or java)

I'm writing a software component that displays on-the-fly the content of a certain log file. Think of boosted-up tail -f. It should be a part of a bigger GUI. I was wondering which GUI componenet should I choose to implement the scrollable textarea which should display the log file output. Three my main requirements are: Search - let...

Blackberry - How to add border to BasicEditField?

Hi, I used BasicEditField in my Blackberry program,the BasicEditField doesnot display any border.So i want to customize the BasicEditField to display with border.please give some code snippets. ...

How to update textbox on GUI from another thread in c#

Hi, im new with c# and i am trying to make simple client server chat application. Here is my problem... I have RichTextBox on my client windows form and i am trying to update that control from server which is another class. When i try to do it i get error: "Cross-thread operation not valid: Control textBox1 accessed from a thread other ...

GlazedLists AutoComplete Changing Selection Doesn't Work

I am using the GlazedLists (1.8) library in my project, and I have been having trouble getting autocomplete working properly on my combo boxes. I installed a KeyListener on comboBox.getEditor().getEditorComponent() to catch when a user hits enter, so that I can do something based on what item they select in the combo box. I installed it...

MS Access Query Designer - similar functionality using standard .NET 3.5 controls?

Hello, I would like to achieve something very similar to Microsoft Access query designer - I am talking about a plane(canvas?)-like surface on which users can place and move controls. Is this even possible? If it isn't possible with free .NET controls - then are there any paid ones, which offer similar functionality? ...

UI Advice: how to design a form with a lot of data

I'm re-writing an app that is a data-entry tool. The existing app is in Access and consists of a form with multiple grids, with each grid containing many columns that requires the user to scroll horizontally in order to view columns. The current grids on the form are layed-out heirarchically in parent-child relationships. Top grid repre...

Equivalent of Swing's pack in C#

I am developing a quick app in C#. One thing that I want to do is the equivalent of Swing's (java) pack(). This is a call that allows me to say to a form (Frame in Java), resize yourself to the size of the sum of the components within yourself. I have searched and searched (the components change dynamically so I cannot simply hardcode ...

How do I extend scala.swing?

In response to a previous question on how to achieve a certain effect with Swing, I was directed to JDesktopPane and JInternalFrame. Unfortunately, scala.swing doesn't seem to have any wrapper for either class, so I'm left with extending it. What do I have to know and do to make minimally usable wrappers for these classes, to be used wi...

Automated GUI testing of linux applications

I'm looking for automated GUI testing apps. So far, I've found Froglogic's Squish, Dogtail, and the Linux Desktop Testing Project. Are there any good free tools for testing linux apps out there? I don't have the option of rewriting the applications that I'm testing. ...

Designing an autocomplete system to choose an instance of an aggregate type

An aggregate type T is made up of 4 strings: t = c1 c2 c3 c4 Each of c1 c2 c3 c4 can have a number of unique values: c1 may have a number of unique values c1.1, c1.2, c1.3, ... c1.n, where 'n' can be fairly high, about 30,000. c2 has far fewer unique values, no more than 5, i.e., n < 5 For c3 and c4, n is unpredictable but generally 1...