473,554 Members | 3,089 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Forum

Java programming language (Sun Microsystems) - Ask questions about java programming, OOP, JRE, SDK, Swing, Plugins, Java Virtual Machine(JVM), Java Libraries: Collection, XML Processing, Security, JDBC, JNDI, RMI, CORBA, AWT (GUI) and more.
0
1,212
thread by: java872 | last post Dec 20 '11 by: java872
How to change the JTEXTFIELD properties by pass the parameters without using the default functions.For Example if i want to change the JTextField LEFT property means using parameter (control name,left,100) like this.how to i do change JtextField property by passing parameter to the JTextField Property?
0
1,328
thread by: atlantic123 | last post Dec 21 '11 by: atlantic123
I have Two issues: 1) I have below c++ function int func1(_bstr_t var1, int i);
0
3,607
thread by: sankar2011 | last post Dec 23 '11 by: sankar2011
WeakHashMap is a topic which is misterious to many developers. Many find it very tough to understand. Others understand but cannot describe properly. Those who already understand WeakHashMap may ignore this topic. I will not try to show how it is implemented. I would like to brief in a question-answer pattern. This will give others a starting...
0
840
thread by: Mayur Patil | last post Dec 28 '11 by: Mayur Patil
I have a process which reads the mail from lotus notes mailbox and convert them(Body and attachments) into tiff. Once the mail is converted in to tiff, I moved that mail into another folder from inbox. Sometimes I get an error (NO COPY Document has been deleted) while moving this mail to another folder. I am using Folder.copyMessage() to copy...
0
1,567
thread by: Man4ish | last post Dec 29 '11 by: Man4ish
Hi, I need to generate check-boxes dynamically and enable onclick color change event for each check box. But I am unable to implement it by integrating Javascript code with Java. // javascript code out.println("<SCRIPT language= 'javascript' type='text/javascript'>function...
0
1,278
thread by: varshapatil91 | last post Dec 30 '11 by: varshapatil91
I am having following code in JSP <table> <tr> <logic:iterate name="loginForm" id="inutParams" property="inutParams" indexId="i"> <tr> <td><bean:write name="inutParams"/>:</td> <td><html:text size="50" name="loginForm" property="inutParamsvalues"/></td> </tr> </logic:iterate>
0
1,357
thread by: Man4ish | last post Dec 30 '11 by: Man4ish
Hi, I am fetching mysql database by jsp via ajax.I am calling jsp from ajax function for database access and display the content in popup window. It is working fine. But when i mouse over the text i am getting content gets printed on web page too. ajax.js /* * To change this template, choose Tools | Templates
0
891
thread by: Mayur Patil | last post Jan 5 '12 by: Mayur Patil
I have a process which reads the mail from lotus notes mailbox and convert them(Body and attachments) into tiff. Once the mail is converted in to tiff, I moved that mail into another folder from inbox. Sometimes I get an error (NO COPY Document has been deleted) while moving this mail to another folder. I am using Folder.copyMessage() to copy...
0
2,537
thread by: suraj09 | last post Jan 11 '12 by: suraj09
c:\jv>javac check.java check.java:3:cannot access String bad class file:c:\jv\String.java file does not contain class String Please remove or make sure it appears in the current subdirectory of classpath The above screen appears in command prompt while compiling the program instead of setting the classpath and path. When I save the same...
0
2,072
thread by: jay bidwai | last post Jan 11 '12 by: jay bidwai
import java.lang.*; import java.io.*; import java.util.*; import java.util.Enumeration; import javax.servlet.ServletRequest; import javax.servlet.*; public class multipleparameter extends GenericServlet { public void service(ServletRequest req,ServletResponse res)throws
0
1,035
thread by: Tassos Souris | last post Jan 12 '12 by: Tassos Souris
Hi! in Effective Java (don't rememember item number) i read that a enum set can be used to group together "flags" that are to be set somewhere, example: public class Text{ public enum Style{ BOLD, ITALIC, ... } public void applyStyles(Set<Style> styles) { ... }
0
1,014
thread by: Tassos Souris | last post Jan 15 '12 by: Tassos Souris
hi! is there any way in java that i can create a immutable object from a mutable one? like the const in C/C++ and the Collections.unmodifiableXXX functionality from the Collections class. I know that this doesn't exist in java (as far as i know) but if anyone knew any trick (reflection, at byte level etc.. any weird stuff) to do that????? ...
0
1,181
thread by: reena9 | last post Jan 16 '12 by: reena9
how to hit a url with java code as i am trying but it shows avax.net.ssl.SSLHandshakeException . please help me code is import java.net.*; import java.io.*; public class unittest { public static void main(String args) throws Exception { URL url = new URL("https://193.195.180.33/marsh/Screens/Login/Login.jsp");
0
1,048
thread by: Merin Lalu | last post Jan 16 '12 by: Merin Lalu
haii.. I have a parent arraylist.. The elements of parent arraylist is another set of child arraylists (duplicate child arraylists are there). i need the index of each child arraylist. The problem is i am not getting the index of child arraylist if the child arraylist is a duplicate. Can anyone help me?? i am doing the code in java..
0
1,105
thread by: DA AD | last post Jan 16 '12 by: DA AD
The first class import java.io.*; import java.io.IOException; import java.util.Scanner; import javax.swing.*; import java.util.Formatter; public class Project implements Serializable {
0
1,214
thread by: SaranReddy | last post Jan 17 '12 by: SaranReddy
can anyone let me know how to make eclipse as myeclipse,what are the plugin required and how to add those to eclipse? if possible please post that in pictorial format
0
1,069
thread by: newlearner | last post Jan 19 '12 by: newlearner
Hi All, I have developed a web service and deployed successfully into tomcat and is working properly. it can be accessed as http://localhost:9091/helloService/hello?wsdl Now i need to expose this web service as a NT service,Also i need to access this service as the same way as above. I tried windows wrapper service ... but i was not...
0
1,942
momotaro
thread by: momotaro | last post Jan 19 '12 by: momotaro
Hi everyone, I have my Jpanel created using netbeans wizard (drag and drop) and I have my class ImageLoader which prepare the image but am stuck at how I make the image to show on my panel... here is the code for ImageLoader: /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package...
0
1,559
thread by: Gaurav Pruthi | last post Jan 20 '12 by: Gaurav Pruthi
Hi, I have picked a basic example of printing "Hello World" on screen when the mouse is clicked The code goes like this. package sample; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler;
0
1,044
thread by: Shruti Agarwal | last post Jan 23 '12 by: Shruti Agarwal
I am executing a batch file and all it does is echo Hello World. I am exeuting it from a java program using Runtime.getRuntime().exec(cmd .... helloworld.bat); I want to get the output from echo i.e Hello World in my java program and display it using system.out.println; please help
0
1,854
thread by: Arshala | last post Jan 24 '12 by: Arshala
i am getting compile error javac DocReader.java DocReader.java:4: package org.apache.poi.hwpf does not exist import org.apache.poi.hwpf.HWPFDocument; ^ DocReader.java:5: package org.apache.poi.hwpf.extractor does not exist import org.apache.poi.hwpf.extractor.WordExtractor; i have already added the...
0
1,962
thread by: Tulshiram Pawde | last post Jan 26 '12 by: Tulshiram Pawde
I am Using <jsp:useBean id="e" class="actions.IODemo"/> ArrayList<Actions.IODemo> al=e.selectAllRecords(dirName); for(Actions.IODemo emp:al) { %> <tr><td><%=emp.getFileName()%></td><td> <%=emp.getFilePath()%></td><td>Date</td></tr> <% }
0
2,035
thread by: davidson1 | last post Jan 27 '12 by: davidson1
I have a below code which saves 4 html page separately with data and a empty Excel file. This empty Excel file is dependent on this 4 html page data. Only While Opening this Excel file ,Each 4 html page is loading its data into each 4 spreadsheet of this Empty Excel file. Is there any way to modify this code, so that each 4 html page data will be...
0
1,086
thread by: Rithesh | last post Jan 31 '12 by: Rithesh
Does any one know how to study the android programming.Is there any good pdf book for that to understand in lucid manner
0
1,148
thread by: Aarthi Krish | last post Jan 31 '12 by: Aarthi Krish
Hi, Is it possible to transfer file from client to server through socket connection with out reading the content of the file ie. directly push the file from one system to another. If possible kindly advice me.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.