Michael Bunch

Ranch Hand
+ Follow
since Jun 27, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Michael Bunch

Thanks for your reply. I will try to post a feature request with them. It is certainly needed.
Perfect!!! Thanks alot.
17 years ago
Does anyone know of a way to a some padding to the left side of the JComboBox so the entries are not butted right up against the left edge? I assume I would need to implement some kind of renderer but I don't know where to start. Also, I want the getSelectedValue() function to return only the text, not the padding + text. Any ideas?
17 years ago
I am new to Derby (Cloudscape), coming from SQL Server, and I am having trouble with case sensitivity on queries. A query such as Select * From Customers Where Customer = 'FRED' is different than Select * From Customers Where Customer = 'fred'. I know I can use the lower() function to get the proper results, but it is too slow on a large table. Is there a way to set something globally that makes all queries case-insensitive? You help is much appreciated.
We have an app which is launched via WebStart and uses Derby as its embedded database. The problem is that Derby placed a file called "Derby.log" on the user's desktop. That is really annoying and needs to be removed. Any ideas on how to disable the log file from being written?
17 years ago
Hi all,

I have a signed applet that is reading and writing data from our server using stored procedures. We are making alot of calls and doing some very complicated tasks so it is taking to much time to make that many calls back to the server. Thus, we want to read and write the data to an XML file on the client machine. We would need this file to be encrypted so the user couldn't modify it. We would also need some way to query it (maybe using XPath or something similar) so that we would see speed improvements by implementing this scenario. To be honest, I don't know where to begin. I have heard of some API's like JDOM but I don't know much about them. Could anyone give me some suggestions about how you might approach this or where to look for good example code or tutorials? I am pretty advanced in my Java and XML knowledge, but I am a newbie in working with Java and XML together. Thanks for your help.
18 years ago
This is driving me crazy. I have an applet that works fine in JRE 1.4 but in JRE 1.5 my validate and repaint commands don't seem to be doing anything. If I minimize the application and then restore it, a repaint happens and I can see what I just did. I am using Swing componants like nested JPanels and such. Does anyone have any idea as to what might be causing this? I would really appreciate some advice on this. Thanks.
18 years ago
Does anyone know if it is possible to register a click event listener on a Java 2D Composition Layer? I want to know if a user clicks on a particular layer. Is that possible? If so, how might I accomplish that? Any thoughts or insight will be helpful. Thanks.
19 years ago
Native meaning create a DLL in C++ and call it from Java?
19 years ago
Hey guys,

How can I get the amount of RAM on the system that my app if running from? I don't want to amount allocated to the Runtime. I want to total RAM of the system, such a 1GB of RAM. Does anyone know how I could get that from within my app? Thanks alot.
19 years ago
I put the jaws.jar file in a directory that all of my extensions are in which is in the CLASSPATH, and I am still getting an error. Specifically:
package sun.plugin.panel does not exist

Has anyone ever tried this or know of any workarounds or issues that I should be aware of? Thanks for your help.
19 years ago
Does anyone know how to get access to the class sun.plugin.panel.ConfigurationInfo from within Java code? My code will not compile when I try to instantiate this class. Any ideas?
19 years ago
Hello,

I am running an Applet that I need to be able to set the Heap memory at runtime. This code looks like the answer I have been looking for. But I keep getting package sun.plugin.panel does not exist. Any ideas on what I can do to make Java find that package?

Thanks,
Michael
19 years ago
I have an Applet that I wrote which depends on two other Third-Party Jar files. I have been compiling the classes which are in each of those jar files into my applet jar file. As you can imagine, my applet jar file is getting huge. Does anyone know a better way to deploy these other jar files along with my applet? I have heard of using Optional Packages, but these are not optional. The applet will not run without them. Any ideas on how to do this would help. Thanks alot.
19 years ago
Hi. I am using a JFormattedTextField for the first time. I have used a series of asterisks to designate the number of characters that can be entered into the field. The problem is that there are that many spaces in the text field when users start typing into it. Thus, when they click in the text field to start typing, it places thier cursor in the middle of the field (i.e. wherever they clicked), instead of placing the cursor at the left most position in an empty text field like you would expect. Does anyone know of a fix for this or have any ideas on how I might address this issue. Thanks alot!
19 years ago