473,543 Members | 1,822 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.
1
1,284
thread by: abhishekphukan | last post Jan 12 '15 by: Frinavale
How can i write a program to display a number of series like the following: 56789 6789 789 89 9 public class displaying {
1
1,339
thread by: abhishekphukan | last post Jan 12 '15 by: Frinavale
In this program I have everything running perfectly but in the addRecord() function I need to add more information. But I am not able to print it on a new line. Everything is displaying in the same line. Can someone point me out on that. import java.io.*; import java.lang.*; import java.util.*; public class createfile { public static...
0
1,531
thread by: rocky2588 | last post Jan 13 '15 by: rocky2588
Any possible way to make a application streaming video downloader like youtube downloader . i googled and tried the code 100 kb file stored and stopped then not properly downloaded. private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) { // decode the url String result =...
1
6,103
thread by: shivaprasad372 | last post Jan 21 '15 by: rajujrk
i'm using pw,print() function to generate the html content part of the code is here: pw.println("<b>#</b> Number of candidtaesregistered "); pw.println("<br><table border='2px' style='width:600px;height:150px;'><tr>"); pw.println("<td><b>Id</b></td>"); pw.println("<td><b>Name</b</td>"); pw.println("<td><b>Branch</b></td>");...
1
1,816
thread by: Deepan | last post Jan 21 '15 by: rajujrk
I know how to call a method written in a .NET C# Web Service(SOAP Service) using a c# application. But how to do it with a .NET C# Web Service and a java application. I have found a link regarding this. But it seems a bit outdated. So someone please suggest me a latest approach. As I am quite new to programming please give me a Hello World code...
1
1,458
thread by: gratitude4grace | last post Jan 21 '15 by: Rabbit
I have to make this program I made able to repeat itself, but I cant figure out how...I'm stuck and need a starting point. import java.util.*; public class PigLatin { public static void main(String args) { System.out.println("Type a word in English: "); Scanner kb = new Scanner(System.in);
0
1,211
thread by: rajujrk | last post Jan 22 '15 by: rajujrk
Hi, I'm Developing a tool to get all in one. That means, from this tool have to manage Websphere Application Server (Done), Webserivces Status (Done) and Oracle Coherence(Stucked here). I have to connect oracle coherence through JMX and fetch the details like Storage, Proxy and JMX running and stooped nodes and current available and allocated...
3
1,204
thread by: parthjpatel | last post Feb 2 '15 by: parthjpatel
hi guys , In my case I working on one music portal.. I have one problem guys. In my system , after some ratings by users on uploader (artist) page . I want to display one hide button which is already there. Ex- users are rate the particular song of artist then after I admin have satified after 3 rate out of 5 then one {send for license}...
0
15,345
hasansunasara
thread by: hasansunasara | last post Feb 3 '15 by: hasansunasara
In this article, we will discuss how to programmatically obtain a request-mapping URL for a module in Spring. Java developers know that all versions of Spring from version 3.0 onward, allow the developer to manage handler mapping by defining it in the controller class using an @RequestMapping annotation as an alternative to the XML configuration...
1
1,383
thread by: chah123456 | last post Feb 3 '15 by: chaarmann
Hi everyone i need urgent help with my final project basically i am trying to make a drawRect disappear i was trying to do it by setting the x and y values (int) for the rect as setVisible(false) but i keep getting an error saying that int is not a reference type. Please help me I would reallly appreciate it
1
4,499
thread by: user7777 | last post Feb 3 '15 by: chaarmann
how to use variable in page attribute of jsp include tag? <jsp:include page="/WEB-INF/fd_jsp/layouts/basketcontent.jsp" /> I want to insert a variable passed as parameter in page attribute .Something like <jsp:include page="/WEB-INF/${templateName}/layouts/basketcontent.jsp" />
1
1,940
thread by: Kondratiev | last post Feb 3 '15 by: chaarmann
I'm currently in the process of designing a cinema booking system program which will later be built in Java. One thing the design has to include is examples of polymorphism. Does anyone have any ideas as to exactly where polymorphism would be used in such a system? Any answers appreciated, thanks for reading.
1
1,661
thread by: Jatinmalhotra | last post Feb 9 '15 by: chaarmann
import java.io.*; class CAcc { String name=new String; long accno; char type; double Bal; CAcc(String Name,long Accno,char Type,double bal) {
1
1,429
thread by: jagdeep gupta | last post Feb 11 '15 by: chaarmann
I have a map of names and value. I want to iterate over the map and set the key name as Jlabel Object Name and value as the Label name. Below is the key map. fieldNames.put("empname","Employee Name"); fieldNames.put("empphn1","Phone number1"); fieldNames.put("empphn2","Phone number2"); ...
0
1,231
thread by: user545 | last post Feb 13 '15 by: user545
IDL FILE module DirApp { typedef sequence<string> CompName; typedef sequence<string> CompNumber; typedef sequence<string> CompDetails; typedef sequence<string> rate; interface DirInterface{ string getContact(in string name1,in CompName conam,in CompNumber conumb);
1
2,327
thread by: mwshubham | last post Feb 14 '15 by: mwshubham
I am creating my final year college project on cost effective optical mark up reader. I am getting problem in deciding whether java is fast enough in term of processing image data and efficient for the purpose or i need different tool or application like Matlab. My project is actually an application which enables implementation of OMR using an...
0
1,227
thread by: javadb2 | last post Feb 19 '15 by: javadb2
Hi I'm calling a db2 stored procedure using dynamic sql statemrnt from java. The call has the schema name and sp name. The mf returns sqlcode -805. Any help. Thanks
7
6,240
thread by: Norgy | last post Feb 23 '15 by: iAirplane
import java.sql.*; public class DBConnect { private Connection con; private Statement st; private ResultSet rs; public DBConnect(){ try{
1
1,599
thread by: baran725 | last post Feb 27 '15 by: rajujrk
I can't run SDK manager on eclipse. when I click on window-->android SDK manager, it give me an error message that it could not find SDK folder.
1
1,796
thread by: amskape | last post Feb 27 '15 by: rajujrk
Dear Friends, I am Using NetBeans to develop a Desktop application in Java. I am strong some project related data files in text format in my local folder(eg: E:\securestorage) . I plan to store the same in google cloud . How it can done .. Please provide a sample java code for same purpose... Thanks Anes
0
1,278
thread by: rajujrk | last post Mar 3 '15 by: rajujrk
Hi All, I have two different web application, one developed using struts 1.x and second using spring 4.0. Both having the same screens, assume my application having 9 modules. In that 2 modules revamped using Spring framework with new UI. 7 modules are not yet revamped in Spring 4.0. So that I planned to load the remaining 7 module's screen...
0
1,384
thread by: radianttco | last post Mar 4 '15 by: radianttco
JVM is an acronym for Java Virtual Machine, it is an abstract machine which provides the runtime environment in which java bytecode can be executed. JVMs are available for many hardware and software platforms (so JVM is plateform dependent). Class(Method) Area Heap Stack Program Counter Register Native Method Stack
0
1,285
thread by: kosh | last post Mar 6 '15 by: kosh
public static void main(String args) { String acc = JOptionPane.showInputDialog("Enter a string:"); int ia = Integer.parseInt(acc); String s = acc.split(","); if a user enter a,1,2,l,6 i want to seperate the string and integer.
0
1,224
thread by: saharshi | last post Mar 9 '15 by: saharshi
hi, we have created jdbc connection and applet designs for one project in netbeans(one type of editor for java)design based i.e., pick and drop of fields,labels,buttons etc.,so we need a code for adding them or updating them to database. for eg,i will insert into values in the code in java and that should be updated in database
15
8,718
thread by: pvinod | last post Mar 16 '15 by: vineetsharma
Hi, This is vinod. i have tried to read a 10 lacks records with column count 14 from the database at a single time. But my application shows OUT OF MEMORY error. Any help? my id : <id removed per posting guidelines>

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.