In our application we have a repository that contains things (they are called methods and queries, but this is not particularly relevant for this question). Each thing has a title, description (though some may lack both) and some other data. Users save things to repository and load and use things from repository.
I wonder what is the be...
I've noticed that Android, WPF, and Silverlight all follow a two-pass layout pattern. There's a recursive Measure() method that gets called to size the element, possibly multiple times. Then a recursive Layout/Arrange() method is called which lays out the exact positions of children in their parent control, and will also set the final si...
Hi,
I got the following setup for dragdrop functionality:
const listDragOptions = {
handle: ".camera, .texter", // dragged by either camera or edit icon
//revert: true, // so dragged elements fall back to their original position,
revertDuration: 200, // the element goes back instantly, no need for effects on this one
sn...
When using a JTabbedPane, how do you indent the tabs?
Swing default output:
------- --------- ------
| A | | B | | C |
------------------------------
| |
| |
| |
| |
| |
Desired indented o...
Hello,
JFrame.setResizable(true) lets the user resize both the width and height of a window. Does a method exist which allows the user to ONLY resize the height?
Thanks.
Edit: The solutions below do NOT seem to work. On a 360x600 JFrame,
setResizable(true);
pack();
setMaximizedBounds(new java.awt.Rectangle(0, 0, 360, 1200));
setMaxi...
This question is a refinement of my question http://stackoverflow.com/questions/3161392/different-ways-of-observing-data-changes.
I still have a lot of classes in my C++ application, which are updated (or could be updated) frequently in complex mathematical routines and in complex pieces of business logic.
If I go for the 'observer' ap...
import javax.microedition.lcdui.Display;
import net.rim.device.api.system.Bitmap;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.FieldChangeListener;
import net.rim.device.api.ui.Ui;
import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.component.BasicEditField;
import net.rim.device.api.ui.component...
Hello,
we're currently developing a fairly complex web portal. To improve the user experience, we want to provide a context-sensitive online help system that can aid the user in understanding certain aspects of the site.
In our case, the site has a variety of widgets that display all kinds of tabular data, graphs, etc. For instance, one...
What the option to change the color of the ";" inside Flash Builder 4 ?
...
I believe a lot of people have heard of and even used three20 library for building their apps. What's the pros and cons of using it? what's your experience so far - starting from ramping up, app design, building, to approval, and future maintains...
I am interested in picking it up, attracted by the UI elements that not easily get from ...
Backstory:
In the past users have complained about how long it takes to generate an excel file export. I
fixed the speed problem. In fact, exports are so fast that I can afford to create a temporary xls file during every page load with along with a corresponding link. (The files are cleaned after two hours - the load is light enough for...
I was wondering - is it possible to apply the jQuery UI CSS to an entire site without having to apply it individually upon elements?
So, for example, instead of having to do:
<input type="button" value="Submit" class="ui-state-default ui-corner-all" />
to all my buttons, I instead have some sort of class applied at at top-level DIV w...
I'm working on a small project that involves selecting time intervals and then using them for my nefarious purposes (which basically boils down to making a robot voice shout things at me). However, I can't decide on a proper paradigm for choosing these intervals. The required data is as follows:
Action (Text)
Starting At (Time, can be...
Are there guidelines or tips on designing and building J2ME applications?
...
Okay, so this will probably be closed or whatever, I don't care. I have to say this because it just frustrates me like hell.
Once upon a time, I came from a html/css/php background into the vast deeps of application development. I wandered around the valleys of Java and explored the mysteries of C#. I gasped at the beauty of Ruby, fell ...
Hi folks,
i'm new to appcelerators titanium and javascript and i'm interested in coding an iphone app. i recognized that there is a need of "many" code for creating the UI. that's no problem so far, but i tend to separate that code from my application logic wisely. what are the best practices?
...
Is it possible to add drawables to the positive, negative and neutral buttons of an AlertDialog? If yes, then how?
...
I have a button that sits on top of an NSScrollView, not within. When the scrollview scrolls, the button get's clipped with part of the button going along with the scrolling and the other part staying positioned.
To better describe the issue here's a video of the issue:
http://dl.dropbox.com/u/170068/ScrollTest.mov
The planned goal wa...
I have a Python application that is running as a console application. I did not like Python GUI libraries. That's why I want to use Java for GUI and python for application core. There are lots of details to read in the Jython documentation. I need a simple way to connect the GUI programmed in Java, and the core programmed in Python. What...
This is just AWFUL! It takes me much to long to create my Blackberry application. I'm not even coding it yet just creating the GUI!
I have code the UI using Java code, then run it, then wait for it to package and launch, then I can see the changes.
Imagine trying to position elements. It takes much too long!
Is there a better way to d...