32,204 Topics
| |
hi everyone... im doing an ide for my project... i need to check for errors while typing and must underline them .... i need to do it for c,c++,java using java..... i have no idea about this .... can anyone please help me????? | |
Hi I am just beginning using Java and have two programs due tomorrow for class. Both programs are nearly complete however I keep getting similar errors on both. The first program's error is on the 22nd line starting "system.out." and says that a ) is expected. Here is what I … | |
Hello, I would like to ask is there any class connected with the Tree data structure in the Java Api, since I couldn't find one. I'm just starting to study the Binary Search Trees, the Heap data structure etc. As far as I could see until now, I will have … | |
What are the codes when you cancel a list of names in the database in a certain field? This is the situation: I made a reservation in a certain hotel. Of course they asked my name, what kind of room. . Automatically, it saved on the database of their system. … | |
Hi everyone! I'm new here this is my first post and woe is me its a call to anyone willing to help me! I'm in an introduction course to java at school and I have programed a little in the past, but nothing to write home about. Today my instructor … | |
This is my first attempt at coding. I am completely frustrated and need any help you can give me. I am supposed to take the values in the main method and in the next 2 (these are the ones i am trying to write from scratch) make the values in … | |
Hello guys i am solving last years exams for practice when i stepped over this quiz. I have been fighting it for 2 hours but cant solve it. I must fill in the blanks so the program makes sense and i know its an interface , a class and a … | |
I want it to skip any lines read that throw an exception so I store the lines with errors in an ArrayList. But when it goes through when it gets an error, it will not skip the line and give same error and keep repeating. [code=java]/** * */ /** * … | |
problem with JTree.when i drag the icon to the editor the standard tree with its default values showup.but when i go to properties no MODEL to create the tree is there. this not really a java question for a forun like this.however, if by chance you do have an idea … | |
Please somebody help me! I`m a beginner and want to learn web designing. I want to khow taht is there any diffrences between Java & JavaScript if yes which one of them is better for me I have learned just C programming language. | |
i want to know how to send sms from a java program, so far i am aware that you will need a sms gateway, but i dont know from at which point to start coding .... i am an absolute beginner, and i please help me with step by step … | |
can anyone plz help me. i m not able to compile source code.the problem is javac not recognised as internel or externel command. | |
Hi, I wrote a simple Java program that allows changing the background color of itself by clicking on the radio button, like this: [code] import java.awt.*; import java.awt.event.*; class Colors extends Frame implements ItemListener, ActionListener{ Label lblTxt = new Label("Choose a color:"); Label lblInform = new Label(); CheckboxGroup cbg = … | |
I am trying to make a table of all the ASCII characters but am having some trouble. I have all the characters printed in a list order, but need to make it into about 10 columns across. Any help is really appreciated. Here is my code so far...[CODE]import corejava.*; public … | |
Hello, I am new to java with some experience in C++. I am trying to write code that reads two different times and displays the difference in hours and minutes. 0 is midnight and the input should be in 24hr format. This program should work even if the first time … | |
So I have been looking around and have not been able to find an answer to this. The program is for the most part complete and runs with one exception. When I enter "stop" it still runs through the program before exiting (i.e. after I enter stop it still asks … | |
Hello everyone. I'm having some trouble with a game I recently made for a class. It's a beginner's Java class, so the teacher didn't mind the problem, but it's been really bugging me. My game is a Tower Defense, but it blinks every time the enemy moves. Rapidly blinks. My … | |
anybody out there please help me out fix these bug in my code. i really couldnt figure out what's wrong with my code. input should be in a string, and the output should tell wether its a palindrome or not please![code] import java.lang.*; import java.util.*; import java.io.*; public class istak … | |
Whats up guys, I'm writing this java program and I'm having trouble with Strings. Does anybody know how to write the following methods? public void bubbleSort() //sorts the array strings using Bubble Sort Algorithm (ascending) public void selectionSort() //sorts the array strings using Selection Sort Algorithm (ascending) public void insertionSort()//sorts … | |
how do i read character by character from a text file?I need to check for "\n" and split the file on it. for eg: I am a girl.I livein acd. My name is sdljnl. usoihuid. So finally i want to delete the 1st msg(line) from thefile so that the file … | |
Hey guys im making a simple program. I have a while loop that continues while the bool quit ! = true. I am trying to test that in a statement like this: [CODE] String userdecision = ""; while (quit!=true){ //start while System.out.print("Would you like to continue with another transaction?"); [B]userdecision=in.next();[/B] … | |
code:: [code] import java.io.*; import java.util.*; public class Global{ public static int flag=0; } interface filebackedfifoqueue { void put(String msg); String get(); } public class trying{ public static void main(String args[])throws IOException{ int ch=1; String msg; msg = new String(); while(ch!=0) { BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in)); System.out.println("\nMenu"); System.out.println("\n0.EXit"); System.out.println("\n1.Publisher"); System.out.println("\n2.Subscriber"); … | |
Hi everybody, I want to have a login form in Java, which comparing the username and password, according to MySQL database data, so I have the following code, just don't know where to add the select statement and how verify the username and password from MySQL with the JTextfield of … | |
Hello Everyone, Few days ago, There was active thread on creating own DBMS in Java. Its not an easy task so i decided to create Object-Relational Mapping Framework and i have done so. I have tested all methods and its working perfectly. Now i have decided to make it available … | |
Hello, I'm creating a program that involves coloring an image thats is gray scaled and has a transparent background. How do I do that? | |
Which is in higher demand in the job market right now??? | |
I am doing a Java project and in my gui I want to use Buttons. I want to put a class' internal parts code as a button action. Because the class Throws Exception when I copy the contents of the class under the button definition I encounter unreported exception error. … | |
hi Frends, I am a NetBeans user, I show an error in My project when i click on Design view of JFrame. Error is:-"The File Formate is Not Recognized" this is my project database's JFrame. i can't see the design view but ican write code in it. In code window. … |
The End.