Is there a lib that can build a simple GUI by looking at a class or method signature?
For Example:
class MyMath{
public static double sqrt(double d){
//impl
}
}
To
So that when the button is clicked the method is invoked and the result is shown.
Do you know any examples of something like that in Java or ...
Hey folks,
In my application, I have a ToolStripMenu (File, Edit, Notes), a ToolStrip right above my work area and a context menu for the work area itself. Now the Notes ToolStripMenu, the ToolStrip and the ContextMenuStrip all have the same content that performs the same actions. I was wondering, is there an elegant way to just design ...
Okay: I'm on a linux system, so if you are windows I'm sure you can figure out how to do the equivalent of some of the actions I describe below
Create 'test.svg' as such:
<svg>
<circle cx="100" cy="100" r="100"/>
</svg>
Now create this little ruby script:
#!/usr/bin/env ruby
require 'gtk2'
Gtk::init
pixbuf = Gdk::Pixbuf.new "test...
Hi there,
I mainly developing JEE and now I'm in a situation where I need to write a small native Java app. But tbh I'm a little bit lost, which frameworks (SWING, SWT, etc.) are outthere? Is some rapid dev also possible with one of these? Maybe someone could provide me some links or share his experiences.
Thanks!
...
I have a problem with inserting nodes in a JTree. Basically the user right clicks on a parent node, bringing up a list of the possible children to insert. They select one it is inserted as a child of the selected node. This all works great when the parent node has never been expanded. However, if the parent node of the node the user ...
Hi guys,
I am developing a flex application for collaborative data analysis. To present the data my application uses standard and custom components (grids, charts etc.).
I want to deliver the feature that allows users making notes over the GUI of my application. So, other users will see they notes late on.
At the moment my question i...
Please read the whole question; I personally think that this is programming-related; if you think otherwise, then please migrate without down-voting.
I have found two different ways of installing a service:
http://www.wsinnovations.com/softeng/support/manualservice.html
as well as using http://msdn.microsoft.com/en-us/library/50614e95(...
I'm looking for some public domain images to use for buttons, progress bars, and other common GUI components. I can't find any with Google and a Creative Commons search only returns screenshots of programs. Is there anything out there for those of us who want a purdy GUI but have zero graphic design skills?
...
I'm having a problem refreshing text on a timer. I am displaying the current time and refreshing the screen every second. The problem I'm having is the old time doesn't get erased when the new time gets printed.
Here is the function that displays the current time.
- (void)drawRect:(CGRect)rect {
CGPoint location = CGPointMake(10,...
Full Tilt Poker's GUI has a box of text that keeps reporting on the state the current hand. I wanted to be able to parse that text but do not know how to gain access to it, so if anyone could point me in the proper direction, I would appreciate it greatly.
Image with the GUI and text box: http://img143.imageshack.us/img143/6660/ftpbox.j...
Hi,
I'm trying to find a tool and library to edit, write and read data in a hierarchical structure, similar to an LDAP tree, a Windows registry or a Berkeley DB structure.
The keys should represent some hierarchy, and the values should have a relatively flexible format (typing is optional, but could be useful). Here is an example:
Item...
Using the MVC pattern in a desktop application, what's a good approach to introducing a view to its respective controller, and vice-versa? E.g., should you use constructor injection to give the view its controller, then have the view call a setView method on the controller and pass itself as the argument?
(Question isn't specific to any...
Update
Luckily, the code that WebKit uses to make this control draws onto a canvas using basic drawing operations, so it shouldn't be too hard to convert into a Cocoa control. This is what I have so far:
I'll update here again once I get it finished.
Original question
I don't know what to call this sort of control, so I'll show pictu...
Hey,
I was able to get the animation to work on the emulator -- however my problem is that it animates for a second, but then then goes back to its original posistion right after it finishes animating. How can I stop this for happening.
This is how I animate my objects:
private void doAnimations() {
logo.setVisibility(View.INV...
I have run into a case where a Windows Form application is being run regularly via a scheduled task on a Windows Server 2003 box. The GUI is, obviously, not being used to take in any user input, so it is at best pointless. But is it also dangerous? Could it cause anything to go pop on the box?
...
I have a taskBarIcon element extending Application Context from which my entire UI is designed. This is because the original functionality of the application was to run a background process and simply provide the icon as a confirmation that the app was running.
However, I am now adding additional functionality in the form of a menu that ...
I've been developing in Java Swing for a while now, and I'm starting to feel that Swing-based desktop applications are feeling a little stale and are tedious to develop.
I'm seeing new applications that look very sleek and modern, like TweetDeck and Synthesia (a piano game). Despite the wisdom in Haase & Guy's "Filthy Rich Clients," I ...
I am fairly new to Python programming, and completely new to cross-platform GUI building (only previous GUI experience is through visual basic and Java).
I've written some python code to screen-scrape data from a website, and now I want to build a GUI that will reside in the Mac OS X menubar, and in Window's task bar (i.e., the system tr...
Hi,
I am using a CSS template to create a website and everything is appearing as a fixed size. How may I adjust everything so that the size of the items adjust to the size of the screen please so that it stretches to the entire width of the page?
Thanks.
...
At a conceptual level (not platform/framework specific), how should components like toolbars and menus (and the commands they contain) be implemented in a desktop application that uses the MVC pattern, with minimum coupling & maximum code reuse?
...