gui

Good GUI Design Tool to mock up iPhone & Android applications

I am about to embark on developing a mobile application for both the iPhone and the Android based phone. I have most of my gui mock ups written down on a white board and some in my head. I need to put them down on paper so I can relay my designs to others in my team. I was wondering what the best on-line gui mockup tool I could use? ...

C# Hide Resize Cursor

In my program, im using the WndProc override to stop my form being resized. Thing is, the cursor is still there when you move the pointer to the edge of the form. Is there anyway to hide this cursor? ...

Languages to generate single-EXE Windows apps?

Hi I was wondering what tools there are out there to generate single-EXE Windows apps, ie. with all the libraries compiled into a single EXE, without any dependencies whatsoever. I know these: Delphi PowerBasic and other non-OO compilers like FirstBasic, etc. RealBasic C/C++ Do you of other tools? Thank you. ...

How do I display a java ResultSet visually?

I'm looking for a way to display a java.sql.ResultSet on the screen. preferably built-into java or swing. If neither of those have a decent method that's simple, I'd consider spring. How? ...

C# Change Desktop Pattern

Im making a simple wallpaper changer. It works when changing the wallpaper but i cant change the pattern of the wallpaper. I tried something like this but it doesnt work :S SystemParametersInfo(SPI_SETDESKPATTERN, 0, "Center", SPIF_UPDATEINIFILE | SPIF_SENDWININICHANGE); Can some1 please show me the proper way of setting the wallpaper...

C# Form Control Move

Is there anyway to control where you can move a form? So if i move a form, it can only be moved on the vertical axis and when i try to move it horizontally, nothing happens. I dont want a buggy implementation like locationchanged or move event and poping it back inline. I no there is a way using something like a WndProc override but af...

Smart progress bar ETA computation

In many applications, we have some progress bar for a file download, for a compression task, for a search, etc. We all often use progress bars to let users know something is happening. And if we know some details like just how much work has been done and how much is left to do, we can even give a time estimate, often by extrapolating fro...

ListView - how to avoid twinkling (.NET/C#)?

Hello there, My application is multithreaded it has f.ex 25 active threads, and each thread pushes it status to list view item by delegate. example: private delegate void SetBackColorDelegate(int index, Color color); private void SetBackColor(int index, Color color) { if (listView1.InvokeRequired) { ...

Lightest-weight spacer component in a GridBagLayout

In a GridBagLayout, what component is the best for providing empty space in a panel? Ideally I would like to use a component that has: Low overhead No side effect when no empty space is required (i.e. no minimum size) A trivial constructor (no parameters) A JPanel violates #2 above. A Box requires a constructor parameter (#3 above)...

rbuic on windows

I've had no luck getting the rbuic UI compiler (from qt4-qtruby-1.4.10 release) to produce any output on windows. Even running rbuic -h does not work. I'm guessing the output is going somewhere other than stdout... Any suggestions? ...

Distributing Ruby/Python desktop apps

Is there any way besides Shoes to develop and distribute cross-platform GUI desktop applications written in Ruby? I come to believe that general bugginess of _why's applications is exceptionally crippling in case of Shoes, and anything more complex than a two-button form is a pain to maintain. RubyGTK, wxRuby, etc seem to be promising,...

[C#] What is the best way to handle mutliple view/tab-ish GUI elements

I'm working on an application that presents the user with varied data, depending on the object being viewed. The objects are all of the same interface just with extended properties beyond once distinguished. I'm looking for the "best" way to display a type-dependent control to the user. I would like to use tabs but I'm stuck with .NET 2...

How do I center controls without resizing them? (.net Winforms)

I have a fairly simple user control that represents a basic login control. So it has a couple labels, text boxes, and a button. I would like this user control to fill its container, so I have set its dock mode to fill. So far easy enough. Now, I would like all the controls in my user control to be centered based on whatever size my...

Is there a way to hide the tab bar of JTabbedPane if only one tab exists?

I want a behavior similar to e.g. Firefox where the list of available tabs does only show up if at least two tabs exist. I wasn't able to find anything like that, yet. The best idea I had was changing the layout manually: in case of one component, just add that to the surrounding panel if a component is added, remove the component fr...

what eclipse GUI builder plugin do you suggest

i'm trying to create a user interface in java? what ui builder do you suggest for me to use? Thanks. ...

How to Change Mouse Cursor in PythonCard

How do I change the mouse cursor to indicate a waiting state using Python and PythonCard? I didn't see anything in the documentation. ...

Is there anything like xvfb or xnest for Windows?

On projects with end-to-end tests that drive the GUI, it is awkward to run the tests on a developer workstation because the GUI automation driver interferes with the desktop. It moves the mouse, steals focus away from apps we want to use, and can start typing text into the wrong application if we switch to another app during a test run. ...

Designing a Qt + OpenGL application in Eclipse

I'm starting a C++ project using OpenGL and Qt for the UI in eclipse. I would like to create a UI where a portion of the window contains a frame for OpenGL rendering and the rest would contain other Qt widgets such as buttons and so on. I haven't used Qt or the GUI editor in eclipse before and I'm wondering what the best approach would...

Good text foreground color for a given background color

I'm drawing a color selection button and I'm looking for a nice and simple formula to get a good text color (foreground) for a given background color in RGB. A simple try would be to just take the complement color but this will produce an odd looking button for colors like pure blue or pure red. Is there something well known that does...

C# VScrollBar & HScrollBar

Hi all. In my form i have a RichTextBox. I also have a VScrollBar and HScrollBar. I set the RichTextBox property ScrollBars to None so i can use the new scroll bars for it. Thats where i hit a problem, how do i do it? I searched online and found nothing for "c# richtextbox vscrollbar" Please help. Id prefere articles instead of code so ...