473,544 Members | 2,294 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,000
thread by: theusualsuper | last post Jan 26 '07 by: r035198x
I'm extremely new to JAVA. In fact I never knew Java until I got accidentally placed in that class after some mix up with the C++ classes. So, what can I do to make Java easier? Because I do not understand the language as a whole and also in detail. Whereas HTML came pretty easy to me after a few months, I've already been doing Java for half a...
0
1,000
thread by: flavourofbru | last post Nov 13 '07 by: flavourofbru
Hi, I am converting the XML documents into tree structure using JDOM. Now I would like to parse the tree and store the entire tree structure and its information in the database(Access or Oracle) Are there any API that I can use for this, or what functions can I use to do it. Thanks!!
1
1,000
thread by: lalitha9 | last post Apr 5 '10 by: Dheeraj Joshi
why HttpServlet is an abstract class??
0
999
thread by: rajbala | last post Nov 22 '06 by: rajbala
hi, I want to run mp3 by selecting file from one system and it should be played in another system by using socket. When i run the simple program of media player. It shows error in commands like import javax.media.bean.playerbean.*; import javax.media.ControllerEvent; import javax.media.ControllerListener; import...
0
999
thread by: anonymous | last post Jul 10 '07 by: anonymous
hello im trying to generate a page (jsp) that contains a struts form <html:.... using a xsl and xml files and (transform the xml with the xsl on server side) but the problem that when i type a struts tag <html:text .. . . in the xsl file, the xsl does NOT accept the tag, what should i do to enable struts tags in the xsl and generate the form? ...
1
999
thread by: drewskee | last post Oct 17 '07 by: Ganon11
the following program prompts the user with the following menu : What would you like to do? 1.print the contents of the database 2.find all the songs on a particular album 3.quit Please enter 1, 2, or 3.
2
999
thread by: yneeraja | last post Nov 16 '07 by: JosAH
Hi all please help me how to get a combobox when a JButton is pressed
2
999
thread by: drsmooth | last post May 16 '08 by: drsmooth
im working on a game right now, its a simple rpg where you have a charater with stats and you can message and attack other players online. my problem is what would be the best way to share the information across the net? i set up the whole game with mysql databases and it works great but as discussed here earlier, most web hosts consider remote...
1
998
thread by: kaukab khokhar | last post Aug 23 '07 by: JosAH
i have an error when i compile the source file in textpad my computer is become restart this error is accur at the time of developing the class file in textpad please help me in this regard
0
998
thread by: hev | last post Sep 25 '07 by: hev
Hi, I have problems with a dynamically created form using this code: private HtmlPanelGrid grid; public HtmlPanelGrid getDynamicPanelGrid() { if (grid == null) { Application app = FacesContext.getCurrentInstance().getApplication(); grid = (HtmlPanelGrid) app.createComponent(HtmlPanelGrid.COMPONENT_TYPE);
5
998
thread by: jaaz | last post Nov 12 '07 by: heat84
Ive been given this assignment before the half term and i have to hand it in by monday basically its a program it has 5 erros and i cant find them could any1 help me with this pelase Public class AddThree { import java.swing.JOptionPane; Public static void main (String args ) String firstNumber, secondNumber, thirdNumber int num1,...
3
998
thread by: keem2k8 | last post Feb 5 '08 by: BigDaddyLH
I have to create the classes in the inheritance hierarchy of the figure below. An Employee should have a first name, last name and social-security number. In addition, a SalariedEmployee should have a weekly salary; an HourlyEmployee should have a wage and a number of hours worked; a CommissionEmployee should have a commission rate and gross...
0
998
thread by: Norgy | last post Feb 9 '14 by: Norgy
can i make multiple frames in java using drag and drop? i want to make a button that directs me to another frame can i do this without writing code? just drag and drop
0
997
thread by: khajeddin | last post Apr 12 '07 by: khajeddin
hi: any one knows how i can clear my screan in Java (im beginner). please tell me all information such az which package should i import and which class should i use!?
0
996
thread by: crossroadsk | last post Dec 4 '06 by: crossroadsk
i got an error message when i start j2ee server by using the command j2ee -verbose i'm not able to point out which software uses the same port number. Where should i change the port number in server.xml file?
1
996
thread by: ysivaji27 | last post Mar 12 '07 by: sicarie
tell me about assert key word how it is use full for the programmer point of view
0
996
oll3i
thread by: oll3i | last post Mar 28 '07 by: oll3i
can i add a new value to enum type on the run eg lets say that i have defined colors with enum and during the program work i need to add new color to my color list can i do it with enum or shd i use sth else
2
996
thread by: veremue | last post May 26 '07 by: blazedaces
how can i get rid of the class not found exception
3
996
thread by: aiseki | last post May 18 '08 by: aiseki
i currently have an array of 20 numbers. how do i set all the cells in that array to have the same number that is specified by the user?
0
996
thread by: naveenkongati | last post Apr 20 '10 by: naveenkongati
hi, I have set session timeout as 15min in web.xml for my application. Now i would like to redirect the page to index page after session expires. I am using tomcat 6.0. Please guide me how can i do this in web.xml ? with Thanks Naveen
0
995
thread by: chlawren | last post Mar 2 '07 by: chlawren
Hello, I have installed tomcat to AIX 5.3 and AIX4.3. The issue I am having is that around every 10 minutes I see my 18 way server utilize 95% of cpu and java is the top process fo r I am also seeing the PID change from time to time - any idea's why? Can anyone point me in the direction of some good tuning docs.
0
995
dmjpro
thread by: dmjpro | last post Mar 15 '07 by: dmjpro
this is my code ... look at carefullyyyyy ... import javax.naming.*; import java.util.*; class JNDITest { public static void main(String args) throws Exception { Hashtable tab = new Hashtable();
0
995
thread by: veerapureddy | last post Jun 8 '07 by: veerapureddy
Hi everybody, I am facing a problem with session management. Actually , whata i am doing is, by clicking on search button in a jsp page, im dispaying some data in table, which is from MS access database.the actual problem is , if i restart the server and run my project(netbeans ide), in that same browser iam able to see the some data in...
0
995
thread by: tegdim | last post Jun 18 '07 by: tegdim
Hello, I'm extending a GUI for marking up images with a zoom feature. I got the graphics transformed by applying an Affinetransform to the graphics object like so in the paintComponent method: AffineTransform transform = new AffineTransform(); g2d.setTransform(transform); This worked ok and scaled the images but when I tried to use the...
0
995
thread by: mynameissina | last post Mar 6 '08 by: mynameissina
hello out there, assume jar file of my mobile project lives in c:/netbeansprojects/mymobileprojects/project1/dist/app.jar now i need a simple midlet that its only duty is to creat a text file say in d:/somefolder/text.txt. what piece of code will do that for me? as it will be installed on a mobile phone how should i obtain drive letters of...

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.