Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Top Java Solutions: 301 - 325 of 471
 
I wanted to know(java class) the memory uses by a object... Like if I create an object of class than how much memory this object consume.. If I create ArrayList list1 = new ArrayList(50); a...
hi guys I have a HashSet object like this Set abcIds = new HashSet(); abcIds = [1, 10] how do i check if abcIds contains a ',' if ( abcIds.indexOf (',')  == 1 ) { , exists } ...
How can I execute following VBA using java? Sub Macro2()     ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _         "C:\Documents and Settings\hjanjua\My Documents\Book1....
Hi, I have a library project like:     C:\javaprojects\Test\com\mycompany\test so all the source files are under that final 'test' folder. Can I just run javadoc on everything re...
I have a Java application that uses some data files.  The application was designed for one user on a single computer.  We now need to put it on a server and allow for multiple users having acc...
Can you have multiple comparisons in an IF? For example: Can the following code: if (varY = "A")    {varX = 123;} else if (varY = "B")    {varX = 123} else    {varX = 456} B...
Hello , The following shell script is used to run the java program from Solaris operating system, while running the script I am getting following error Exception in thread "main" java....
I am trying to run scripts in an java ssh implemtation using com.sshtools.j2ssh.SshClient.  I have used the sample code,  however when I pass "ls -ltr\n" to the ssh client,  I now get the term...
Just wondering if it is possible to call one .java file from within another, using an if/then/else statement Something similar to If x == true then run file1.java else run file2.j...
I am using the Java XML Digital Signature API to produce an enveloped signature with RSA_SHA1.  Everything seems to sign perfectly, and I can validate the signature. However when I send to our...
Hi, i have a problem with my little swing interface. I have a group of jRadioButtons and a jButton which has an actionlistener. I want to do some calclutaions due to the selection between j...
Hi, I'm trying to automate something I wrote in a bat file in a java application. I'm making a certificate like:     keytool -genkey -keyalg rsa -alias MyApplet Can I execute a system...
Hi,    Check the below image for my problem. I installed java from the site. After installation also i'm getting the same error. Please solve my problem. Thanks
hi guys I have an array like this CriteriaVO[] searchCriteria; searchCriteria  can contain multiple values like this [RangerId = 100, date BETWEEN Sun Nov 11 00:00:00 EST 2007, Wed...
Let me just describe the whole situation before I talk about my problem. We developed a software that connects to a database (MySQL) through a very, very slow connection (There is nothing t...
Hi experts, I have the following xml file: <Animal  type="mammal">       <Dog  name = "Spot"  age = "2">             <Weight> 11 </Weight>       <Dog>       <Cat  name  =  "Moew"  ag...
Hi, How do I create a pane that toggles? i.e. I have 3 panes stacked on top of each other  and I want to show only one, and hide the other two. Sort of like JTabbedPane without the tabs. ...
Hi, I use iterators with maps pretty often like:     for (Map.Entry<Integer, String> it: mylist.entrySet()) {        it.getValue().toString();     } how do you do the same with an A...
Dear Experts, This is a follow-up to question: http://www.experts-exchange.com/Programming/Languages/Java/Q_23495980.html I have an Outlook template assigned the value "whatform" in the...
I want to open new window on clicking on the cell of Jtable. How can I do it using TableCellRenderer
Hi Friends, I have written a code for a multithreaded Webserver using thread pooling in java. I need to implement HTTP/1.1 keep alive behavior in it. The code has been attached with the quest...
Is it possible to re-position back at the beginning of an Iterator o pass though a collection twice. Looking at the attached code I want it to pass though each case for each report in a batch....
Okay, I'll start by saying I've only been programming with Java (and by extension, OOP) for a little less than a year. I've had to write some custom applications for my company that use networ...
I would like to spawn a thread based upon a condition in  my main program, the new thread should run in the back ground doing its work and the main program should countinue running in the fore...
Hi all, I  want to write a validation  using regular expressions, so that it should stop the users. Basically, when users submit a number it should be plain  ,it should not inlcude  "," ...