473,544 Members | 1,954 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,303
thread by: watermje | last post Sep 19 '13 by: Nepomuk
public class JPLCode { public String detailsIn(String fileIn) { try { FileReader file = new FileReader(fileIn); BufferedReader br=new BufferedReader (file); String hb = null;
1
1,264
thread by: game2d | last post Sep 22 '13 by: Nepomuk
the problem is in for loop. note Log.d prints only 0 than the my problem crashes. this code seem right to me. is there any thing iam missing? public class test extends Activity implements View.OnClickListener { int idArray = { R.id.imageButton1, R.id.imageButton2, R.id.imageButton3, R.id.imageButton4, R.id.imageButton5,...
1
1,375
thread by: pankhi | last post Sep 25 '13 by: Nepomuk
hello..i am new to java...please tell me what is master form in java?
4
1,343
Blue1244
thread by: Blue1244 | last post Sep 26 '13 by: Nepomuk
How can I get this to work? I have the popup window where it pops up but I'm using Netbeans and the data I want in the popup box isn't in there.. it is in the netbeans runner thing. By the way don't judge the look of this code I except all criticism, but I'm only 13. package FunctionSolver; import java.awt.Canvas; import java.util.Scanner;...
2
1,450
Blue1244
thread by: Blue1244 | last post Sep 27 '13 by: Nepomuk
I have two files, one holds the code i want to send to another file how do i do this? This is the code I have for the main file: package testingclasses; public class TestingClasses { public static void main(String args) {
2
1,321
thread by: Raghad94 | last post Sep 28 '13 by: Luuk
Hi I'm a beginner on Java so I hope you guys can help me int a1 = str.charAt(0)+1; int a2 = str.charAt(1)+1; int a3 = str.charAt(2)+1; int a4 = str.charAt(3)+1;
3
1,555
Blue1244
thread by: Blue1244 | last post Sep 29 '13 by: Blue1244
I have these import codes in my java file and it says these packages do not exist. but they do and i have those classe files in those packages, i need help. import Work.LinearFunctions; import Work.SimpleArea; import RunAndRestart.BasicRun; import RunAndRestart.Restart; import Work.AbsoluteFunction; import Work.Volume;
1
1,135
Blue1244
thread by: Blue1244 | last post Sep 29 '13 by: Nepomuk
I need help with javax swing again and I have this window where it will pop up but I need help with the drop down selection thing, how can I get it to where it will based on what I have selected open another window? The picture of the window is an attachment. But I need help if what I'm asking is impossible please tell me how I can get it to...
3
1,349
thread by: game2d | last post Sep 30 '13 by: Nepomuk
how to loop though 2d-array horizontally from left to right. so when i loop though like 1,2,3,4,5,6,7,8 i just want to make sure this loop is doing what i think it does? int array = {{1,2,3,4}, {5, 6, 7, 8}};
1
1,759
thread by: FLYINGROBOCOP | last post Oct 1 '13 by: FLYINGROBOCOP
ive literally only started java in college but am familiar with c++ im trying to import the keyboard...i downloaded the class and mapped it but it aint working..is the fault in my code?? please help and thank you import java.io.*; import keyboard.*; public class course2 { public static void main(Stringargs)
2
1,594
thread by: mlotfi | last post Oct 3 '13 by: r035198x
I have a text file : electron.txt I want to count the max number of consecutive dots "." in the above text file, dot is not a character, how to parse the line string returned from the text file to count dots. ? please your help is appreciated. Thanks
1
1,543
oll3i
thread by: oll3i | last post Oct 3 '13 by: r035198x
html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="css.css"/> <title>HRMailer</title> </head> <body> <table width="900"> <tr> <td valign="top">
12
2,674
oll3i
thread by: oll3i | last post Oct 3 '13 by: oll3i
How do I atach files in java? Thank YOU
1
1,284
thread by: game2d | last post Oct 4 '13 by: Nepomuk
http://pastebin.com/v4Jd1yTc hi I am following a tutorial which shows how to create tileMap game in java. But i cant seem to understand some of the methods and variables. main code i post it on pastebin.com take a look. problem is I cant seem to understand what is method calculateCorners is doing. calculateCorners(x, toy);
1
1,326
thread by: game2d | last post Oct 9 '13 by: Nepomuk
i have a java project for my resume that i put it on github. and i want a fastest way to some one else to run my project. should i just put all my files there? like src, bin, .setting, etc... or should i just put 'src' files. or should i put 'bunder' file and 'src' folder?
1
1,199
thread by: ashwanisri | last post Oct 9 '13 by: Nepomuk
How to count key stroke: if on client side anyone type anything then how to count keystroke and if anyone paste something without typing then keystrokes counts or not?
1
2,040
oll3i
thread by: oll3i | last post Oct 9 '13 by: Nepomuk
why netbeans says incorrect package on import java.io.*; Thank You
2
1,629
oll3i
thread by: oll3i | last post Oct 11 '13 by: oll3i
The message comes to the email account without attachment? That's the code for attachment MimeBodyPart messageBodyPart = new MimeBodyPart(); Multipart multipart = new MimeMultipart(); messageBodyPart = new MimeBodyPart();
0
3,639
oll3i
thread by: oll3i | last post Oct 12 '13 by: oll3i
WARNING: StandardWrapperValve: Servlet.service() for servlet FileUploadHandler threw exception java.io.IOException: Corrupt form data: premature ending on line 74 /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package myPackage;
5
1,793
thread by: surendraringwal | last post Oct 12 '13 by: Rabbit
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package data; import java.sql.*; class Data {
6
19,675
oll3i
thread by: oll3i | last post Oct 14 '13 by: Nepomuk
List<FileItem> fields = upload.parseRequest(request); Why fields.size() is 0 ? When i upload the file.
1
1,388
thread by: DHARMISTHA | last post Oct 14 '13 by: Nepomuk
how to write java pro of to rewite STRING TO GINRST IN alphabetical order ?
6
2,482
thread by: harithapriya | last post Oct 15 '13 by: harithapriya
public void saveSinglePercentage(String singlePassPercentage, String userName) throws ApplicationException { int singlePercent = Integer.valueOf(singlePassPercentage); String params = { PASS_SPERCENT,USER_ID_PARAM }; Object values = {singlePassPercentage}; System.out.println(singlePercent); ...
1
1,451
thread by: gurjeet kaur | last post Oct 16 '13 by: Nepomuk
1 pls tell me if m using 2 jframe in netbeans one frame m use jlist and other frame use jtextfield ,then use the jlist value and if condition use in in another page using frame one value it is posible or not
1
1,340
oll3i
thread by: oll3i | last post Oct 16 '13 by: Nepomuk
public class Expression implements IExpression{ public Expression(){} public Expression(new DotExpression()){}} why for public Expression(new DotExpression()){} i get illigal start of type Thank You

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.