32,199 Topics
| |
How the JAVA compiler was developed????? What language and compiler they used to develop it.... and what factors made it platform independent.... If I want to write a language and a compiler and make it platform independent how can I do it....... Please help me out with answers........ Please......Please | |
I use the IDE Netbeans and as a personal project I want to create an application in java similar to "Mac OSX" dock bar. I dont know how to run the coding using the GUI...all I have done so far are database structures and commandline programming. I will need to … | |
Dear all, I have been told there is something wrong with the following code. Could someone please shed a light on this, I'd be greatly thankful to your help. VM ---------------------------------------------------- [code] Identify the problem in the following code: // Retry three times on failure to open file. int retryCount … | |
There's an error regarding the scanner and i'm honestly not sure how to make it work i'm using javac as a compiler, please help me solve this issue, ive been trying for hours [code]import java.util.*; public class testing { public static void main(String[] args) { String forename; String surname; String … | |
Hi all, im very new to java i would like to know how to add the following objects into an array [code] CD cd1 = new CD("Kaiser "," up the khazi ", 9.99); CD cd2 = new CD("Oasis "," morning glory ",3.99); CD cd3 = new CD("Bob Dylan "," Alreet … | |
I am using java.io package in my j2me programe in order to use PrintWriter but package does not show PrintWriter option nor it shows BufferedReader option , why this happen ??i do not know.if any one knows the solution plz tell me.is it require any specific library???? plz help me … | |
[TEX]Hey everyone, I am having a problem with converting my character array. The program runs, but in the display box I get little squares instead of a string. The program should display the first char of the fist name, the first five of the second name and a random number … | |
Hi , I need one help. For one of my project requirement, I need to extract contents of RPM package and I have to write Java program for the same. Do anybody have any idea how to do that. Drop me a mail at [email]manish27896@gmail.com[/email] if anybody knows solution for … | |
Hi everybody, I need some help with my first Java program. My teacher don't teach really good ... I have a problem to solve in my script. At that time all are okay but all number must be rounding to 2 decimal :S That's all my Java program (He is … | |
Hello, i need to create a webservices from the wsdl file using jaxws.Can anyone tell me how to do this in netbeans.it will be helpful if you explain me the helloworld sample in this regard. Providing the link for any article or tutorial is also welcome.Kindly help am new to … | |
My code runs fine, but I keep getting this error message: I would like to change this logo from a paperclip logo to a book logo, my code is under the error. Can you tell me what's wrong and how to change it to a book logo? Uncaught error fetching … | |
I'm doing my college project on SAN Monitoring.. As a first phase, I've been asked to get my harddisk's free space and total memory in java using a tool called WBEM Services.. Can someone help me out in carrying out this task?? | |
How would I draw a shape in an applet and have the border one color with the fill a different color? | |
I needed to draw an image and paint a needle on it. Since my image is stationary(it doesnt change) I dont want to paint it each time I call repaint. Thats why I thought of using JLabel with an Icon image. The problem is I cant paint anything on top … | |
i know how to draw 2D shapes just fine but how would i draw 3D ones? if thats even possible. please help, thanks =) | |
This program provides the user with options of what kinds of passwords they want, then they can choose from those menu options, then enter how long they want their password to be. The program is supposed to generate random ASCII values for the password(what it is composed of is based … | |
Hallo to all, I need help on how to put a radio button on the coordinates I want. . .I have this map program and I want to place the radio button on the specified place on the map. I don't know how. . .I have attached an image of … | |
Urbancode today unveiled AnthillPro 3.7, the latest version of its build and deployment automation tool that piles seven popular source code analysis tools onto its [url=http://www.anthillpro.com/html/products/anthillpro/tool-integrations.html]list of third-party integrations[/URL]. There's also support for the GIT repository and DB2 and PostgreSQL databases, the company said today in a statement. Anthill Pro … | |
This one I almost have figured out (I believe). it is a program that takes a String in the main class and calls on a method to count the vowels inside the String. I then have to count each vowel (a,e,i,o,u) and input the total number of vowels (separately) into … | |
Hi everyone. I know that asking for project ideas is generally frowned upon, but I wish to ask anyways. This isn't for school, it's just because I want to. I want to start writing applications that would be used in a business or workplace environment. I don't have a lot … | |
Hi All, I have an array of 3 objects stored in cdList. Because I have now added them to an array, the usual method of displaying no longer works: [code]System.out.println(cd1.getArtist() + " " + cd1.getTitle() + " " + cd1.getCost());[/code] My questions are...... how would i amend to output the … | |
Hi, Im fairly new to java and im working my way through a load of exercises and im a little bit stuck on something. I have two classes, one of which holds the main, which creates 3 objects. I would like to know how to how to count the total … | |
It took me very little effort to put a JComboBox in a JTable so that when the cells in a certain column are clicked, it lets the user choose from a drop down list of items. However, my program requires that the underlying combo box can change, since the list … | |
[CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Calc extends JFrame implements ActionListener{ JFrame frame; JPanel textfield1,textfield2,rowpanel,calcb,mainpanel; JTextField display; JButton[] b; public Calc(){ frame=new JFrame("Calculator"); textfield1=new JPanel(); textfield2=new JPanel(); display = new JTextField(16); mainpanel = new JPanel(); textfield1.setLayout(new GridLayout(4,6)); textfield1.add(display); textfield2.add(textfield1); //array String[] cbuttons = {"7","8", "9","/", "4", "5", … | |
Hi All, I'm starting learning Java and I need online tutorial. I have benefited a lot from site [url]www.zetcode.com[/url] and I would like to have summarized and "well-for-beginner" tutorial. Many of Java tutorials I find are a bit confusing to newbie like me. I'm not new to programming (a lot … | |
Hi all, I would like to know what to add to the following code to count the number of objects that have been created. [code] class CDDriver { public static void main(String args[]) { CD cd1 = new CD("Kaiser "," up the khazi ",(double) 9.99); CD cd2 = new CD("Oasis … | |
Hello! This is my first post and I am a beginner in Java programming-so don't come down on me too hard :) I have a problem that I need to solve over the weekend and I was hoping some of you could help me out. The problem at hand is … | |
My database table need to insert a time value in the format of hh:mm:ss ... As the input source I use JTextbox. it returns me a String. (after using .toString()) I want to convert into the type of Time(hh:mm:ss) in order to store it in my database... How can I … | |
I want to have a date picker for my application. It should be really simple... I went through many examples. But all I found contains very large files (LOCs)....How can I impliment a simple calender? to pick a date and time.... (jst wanna use them in two comboboxes... to pick … | |
I am looking for java syntax to read an attached *.txt file which contains 3 html source code files separated by the file id as follows .IIIII 1, .IIIII 2, .IIIII 3. any help to get me started. I know how to read the who file but I am stuck … |
The End.