I have an application that runs in fullscreen mode and has been working fine. Now I need to add a simple, undecorated dialog and I'm running into trouble. If I run the application maximized but not in fullscreen, the dialog displays and functions as expected. When I switch back to fullscreen, the dialog will not display.
The dialog e...
I'm using Google Web Toolkit (GWT) to implement a complex application on the web. I was wondering, however, how many components can be included into a single page (a.k.a. entry point) before the browser becomes unusably slow?
Would I be better to break my application down into multiple smaller web pages?
...
Currently, I am using Google Account Verification in my standalone application.
public static boolean isValidAccount(String email, String password) {
if (email == null || password == null) {
return false;
}
try {
// URL of target page script.
final URL url = new URL("https://www.google.com/accounts/C...
Hi folks,
As my java application increases in complexity i want to write audit methods to make sure that i am doing the right thing.
How can i do it in java?
thx
...
I have a class which wraps ZipEntrys, but I'm struggling to see how I could then write a method that returns an input stream from any one ZipEntry. I managed to write something that could return an array of input streams for a ZipFile, but I need a way to get an input stream from just one ZipEntry.
...
I need to generate a list of timezones to display for a user. We'd like to narrow the list down depending on the user's Locale.
If the user has a locale of 'en_US', he probably doesn't care to see 'Asia/Ashkhabad' in the list.
Is this doable?
...
I need to prompt users to upgrade from JVM 1.5 to 1.6 when they run my Web Start application. Is this possible using JNLP settings?
...
From the current application on a Blackberry, how do I (using Java):
launch another application
uninstall another application
...
I've a java project which needs some documentation, is Doxygen the only way to go ?
I would like to document the code but also the architecture, the Makefiles, in 3 words, the whole project.
Maybe I should orient myself to eclipsewiki or something like that.
Any help would be appreciated.
...
If I have a Java program that listens to multicast data, how can I tell what the remaining TTL of the incoming datagram is?
I know how to set the TTL on the sending multicast socket, but I want to know the remaining TTL of the arriving packet.
...
I was wondering if there is a way to embed a windows application like photoshop inside a java application? More specifically I would like to set the parent container of the windows application to a JPanel or JFrame. Is this possible?
...
If the thread holding a ReentrantReadWriteLock.writeLock() stops executing due to an uncaught exception, is the lock released, or is it held and all the other threads are now deadlocked?
...
Sorry if my question sounds weird lol I'll try to explain.
I have 4 classes: Karakter, Karakters, Orc, Human. Orc and Human both extend Karakter. Karakters is an ArrayList with Karakter in it.
I have a method in both Orc and Human called: public String getRace(). Now I want to use this method in Karakters?!! When I try to do this, it ...
Whats the difference between Applet and Servlet in JAVA
...
Hello good people
i'm just curious about something.I'm using hsql in myproject (embedded of course).At some time i felt the need to visualize what hibernate was generating.I took a free copy of dbvisualizer. here is the hsqljdbc.properties
jdbc.url=jdbc:hsqldb:file:mydb;create=true
hibernate hbm2ddl.auto=create
i downloaded t...
Hi,
I need to develop some java gui using swing.
A few years ago I did develop a bit with swing.
But it was pretty exhausting, you see, back than there weren't much tools to help you.
But I do believe today it should be easier, there must be tools.
I would like to use some kind of a generator or maybe a utility or even a framework.
I kn...
I need to know when tomcat accepts a login using realm authentication for a given context. I've been looking at the possible listeners available (ServletContextListener and ServletContextAttributeListener) but can't figure out how to be notified when a login occurs. This should also work when using tomcat single sign on for multiple c...
I am having an issue printing to a specified printer in java.
I receive a message and it contains information that allows me to lookup the printer (from over 500). This works 99%+ of the time.. but from time to time, it just starts returning no printers.
Here is this code..
private void printOrder(OrderPrint orderPrint, String temp...
Hi SOers,
I need to change the direction of the growth of JTextField object when more characters are added to it. Currently when I add more stuff to it, it grows from left to right but I need this growth of the bounds of the JTextField from right to left.
For e.g. when I add "StackOverflow" to this JTextField the o/p is,
<empty space>St...
The bitwise operators are supposed to travel the variables and operate on the bit by bit. In the case of integers, longs, chars this makes sense. These variables can contain the full range of values enforced by their size.
In the case of booleans, however, a boolean can contain only two values. 1 = true or 0 = false. But the size ...