36,051 Topics
![]() | |
Hi, i am currently working on a java assignment which require me to create a binary search tree and then get the value of the deepest node which refer to the last level of the binary search tree with level by level traversal. I did the insertion and level by … | |
Hi I have come across a question in a collection which says: One can add a reference of a collection to itself. Is it true or false? I read the explanation that, we can add the reference to the collection to itself, but it results in the [U][B]stack overflow of … | |
I need to know that HOW CAN I UPLOAD MP3 FILE on SERVER USING JSP | |
i hve used upload bean for uploading files... im using netbeans and while compiling its says javazoom package does not exist... any solutions ?? | |
Hi All Here I got a challenging task to do in any of JAVA/JavaScript/AJAX technologies with an XML as input. Task: Graphical representation of Application Dependency among the machines in a Network. Technology to use: JAVA/JavaScript/AJAX/XML Conditions: Source Files should be available and cannot use any licensed applications/libraries inside the … | |
Hi, below is the Question and MYCODE. I've attempted it but there still some problems that I'd appreciate if someone help me thrush out. [B][U]QUESTION[/U][/B] 1. Create an interface called limb and modify your arm and leg classes so that they implement it. 2. Create a new abstract class called … | |
[code=java] #include <stdio.h> #include <stdlib.h> #include <math.h> #include "matrix.h" /* -------------------------------------------------------------------------------------- The GaborFilteredImg provides the outputs of the Gabor filter bank -----------------------------------------------------------------------------------------*/ void GaborFilteredImg(Matrix *FilteredImg_real, Matrix *FilteredImg_imag, Matrix *img, int side, double Ul, double Uh, int scale, int orientation, int flag) { int h, w, xs, ys, border, r1, r2, … | |
hi all i am new to dani web so if i make any mistake please forgive me ... I am just wodering that some could help me in my assignment.. i am not a programming geek and offcourse not in java. my teacher has gave me this assignment i dont … | |
I'm in beginners Java and I have a question... I've written about 16 programs in my class so far and in all my programs this is what we would do: Create a Folder (let's call the folder Project1) Make a .java file (project1.java) then we would go to our practice … | |
[code=java] //The alignment of the features is assumed to be AVG, VAR, CSD, GABOR import java.io.*; import javax.imageio.*; import java.awt.*; import java.awt.image.*; class retrievalGabor { public static void main(String args[]) { if(args.length!=6 && args.length!=7) { System.out.println("The parameters are {Query Image} {Query Gabor file} {Features File} {Gabor Text File} [blocks] {Relevant … | |
I really am stuck as to what I am doing wrong with this program. Help would be much appreciated :D. [code] // DiscountPrices.java - This program calculates total cost for discounted items. // Input: Interactive. // Output: Original price, discount, discounted price, and total price for all items. import javax.swing.*; … | |
I want to draw a tree in Jframe, the tree view is available in the attachment, As you see there are nodes connecting to each other.I know that I have to find the midpoint of the nodes at the same level or things like that. What I want your help … | |
I need to reproduce the following java applet (click potometer simulation) to modify with some more parameters. [url]http://kegsnet.org.uk/mod/resource/view.php?id=2760[/url] I tried to retrieve the applet class file (Potometer.class)but could'nt get it... Can anyone guide me in extracting the code... Thanks, Johanna | |
Hi, I wanna ask how to create 3D volume object contains x, y, z without using 3D array in Java? | |
Currently I am working on one form development using Java. In JSP page I retrieved the data from table using F9 keys i.e for any input field variable available in JSP page, once I pressed the F9 key, all the related data is displayed in the popup window. Once I … | |
I have the following programming challenge to complete, and am stuck. I know what i have to do, which is to get information from the other three classes into the parking ticket class, and then print the parking ticket using an if statement if the time has expired. I am … | |
Hi everyone, anyone got a solution to this problem; some floating point arithmetic do not return the correct answers in Java one of such is subtracting 0.8 from 0.9; you would expect to get 0.1 but u get 0.09999999999999998. No one should tell me about trying bigDecimal because that does … | |
Does anybody know how to create the login page by using Java and MySQL? The login page is contains the username and password, then after check the database, if the username and password is match, then user can login to the main page. Anybody have any idea on it? Or … | |
Okay, suppose I have a class A and subclasses B, C, D, E, F, G. I have a function: [code] public void foo (A object) [/code] I have the default function handler which handles A objects which aren't subclassed, and the B, C, and D subclasses. Subclasses of type E, … | |
Hi! I am doing a project which tries to simulate a DBMS. The records for a relation(table) are saved in a file on disk. What I wish to do is - Specify the block to which each record be written / Save the content block wise Reason for doing this- … | |
i have assignment on java class. plz help me the assignment problem is:Create a class Rectangle with 9 methods: 2 constructors, 3 mutators, 3 accessors, and area. plz help me. | |
Hello everybody!! I am final year MCA student, I want to develope an excellent project, so can anyone suggest me where to get sample project from net? Please reply | |
Hey, I have a program that has to draw a polygon, then apply a recursive function that fill the polygon with a color. Unfortunately, I cannot use the fillpolygon() function, but have to make my own function. I have developed a code for any small polygons. But if I apply … | |
Hi I have a program that has a JTree that lists of all the directories on my computer. I also have a JList in and an add button. Now I am trying to select or highlight a directory in the JTree, click the add Button and then update the JList … | |
# If balance is private,[B][U] what is the upper bound on the number of lines of code [/U][/B]which must be examined to make the change to the Account class? \ What is the "upper bound on the number of lines of code" referring to? | |
hi guys i like to open as many frames user wants to open, i mean they can keep clicking the button and i like new frame keep opening. so this is something i got, now i know i have to use int to keep track of how many frames are … | |
1.Write a class called Student. Data members: name: String; age: int; major: String. Methods: constructor with 3 arguments that initializes all data members; print(): prints all data to stdout in one line, align the printed items in colums, no newline at the end; println(): same as print() but with newline … | |
Hi there folks. I have an app that has several classes but for some reason one of these classes isn't giving me a return value. What I want to check is whether or not this code will return the expected string... [code] String seatLayout; public String showAllSeats(String flightNumber){ fn = … | |
I am working on a project that requires the main system, EmployeeSystem to be able to open a file with JFileChooser, and then write to that file, run a payroll system on it, and search it for a particular employee using a directory system. I am struggling right now to … | |
hi all, ive been trying to do a program on tic tac toe in java i dunno how to use graphics..nor want to use it the problem is..i ve done everything with the program,a small segment of the code called computer_move () is left blank..it is used to get the … | |
Hi friends. Can somebody help me in develaopnig an eclipse plugin using eclipse itself? I need to create a plugin to add a new wizard inside New Project category. With the help of tutorial, i have just been able to create a plugin which add a new menu to the … | |
:rolleyes: Hi, Could you please help?? I am tired and confused. I don't what to do any more! I am trying to write a traffic simulation and i wrote some interface and some classes but the main one that has a big chunk of code seems to me like nightmare. … | |
Well there are two parts of code I'm working on, one is a driver for Caesar Cipher and the other is the Caesar Cipher class itself. I can't figure out how to pass the information the user inputs from the driver class to the cipher class. Any help would be … | |
:) hi guys! im a new member here.. i join here to know about java and othr software development.. im a 2nd yr college in a university here in phiLippines.. im taking BSIT.. i wana ask some help because i cnt undrstand some of the topics in java... Thanx!! | |
hello guyz,,i have confusion anyway,, i have a textfiles (products.txt & cart.txt): "products.txt" inside this text file is Alcohol $12.7 12 Shirt $45.00 34 if i run it to a java file it would be like this actually i already know how to read the file,,and when i output it: … | |
Hello all Can anyone please guide me as to how to migrate an existing j boss EJB application to eclipse??? Regards Shashi | |
I need to downgrade my java version from 1.5 to 1.3 for a project and I've downloaded the .sh file: j2re-1_3_1_23-solaris-i586.sh I'm not sure how to implement this or if there are any other steps. thanks I'm trying to downgrade to java 1.3 from 1.5 and I downloaded the shell … | |
i'm trying to do a method like this "String",number of the Character, number of repetisions repeatAtFrontAndEnd("Hello", 2, 1) → "HeHelloHe" repeatAtFrontAndEnd("Hello", 1, 3) → "HHHHelloHHH" repeatAtFrontAndEnd("Hi There", 3, 2) → "Hi Hi Hi ThereHi Hi " if anybody can help me :D | |
Hi, I have a Uni assignment which requires me to make a Hangman program [B]without using arrays.[/B] I have done this so far: [code=java] //class Hangman public class hangman { private int maxTries=10; //variable to coutn amount of letter guessess private int wordLength; //Retrieves word from words.txt file Scanner fileScan … | |
I am working on an assignment for a class I'm taking. Currently, I have a while loop which takes data from the user through JOptionPane. I am suppose to use a sentinel value (q or Q) to tell the loop to stop. I have my if statement argument working, but … | |
Hi, everyone. For my programming homework, we have to write a code based on the Soundex algorithm that is used by New York State Immunization Information System. Here are the instructions/rules:[url]http://www.cis.temple.edu/~ingargio/cis67/homeworks/homework6f08.html[/url]. My problem is that (besides having no idea what to do) I have an infinite loop somewhere in the … | |
I need to read a text document (with a word per line on it) and extract a word from it to use in a game of hangman. I've been trying to do this for a while, but all I can get is the program to print all of the words … | |
I am attempting to read data from a comma delimited file. The delimited file reads as follows. [QUOTE]A823,Laser-Guided Scissors,Scissors allow cuts without a pencil and ruler.,17.99 7437,TIX LED Clock,Stylish desk or wall clock uses LED patterns to tell time.,49.99 8DB4,Multi-color LED Flashlight,This bright flashlight illuminates in ten differnet colors.,24.99 A565,Nerf … | |
hi guys i have quiestion. i m using hashmap and now what i have to use hashmap value and put that in the int variable, can u guys help with that. i just need some hints so i can work on that. thank you | |
well,i need to explain each method ofcourse...i have gotten so far with the declaration but nothing else..i even had headache trying to figure out each of these...can you guys atleast give some insights and inputs..??its too complicated.. [code] import java.io.IOException; class MyNode { private int iData; public MyNode(int key) { … | |
I am currently trying to design a decision support system application that will help students register for classes in given a semester by displaying classes they are eligible for based on prerequisite courses and semester hours they have already taken. The program initially gets the semester hours the student has … | |
Hi recently i am working on a binary search tree assignment which require me to get the deepest level of tree using level to level tree traversal. I did it by storing the dequee node into the stack so as to revert the order from the last level to the … | |
Hi all! I have been doing Java a bit but just been putting my .class files in the same dir. Everything works fine. I have started looking at packages to make a better structure in my projects. I just made a test and didn't got it working. My structure is … | |
Hey, Im writing an interest program for in java and i ahve a question about an easier method to obtain the user input. I have to get the amount the user wishes to input, the % interest, the annual rate (36 months, or 2 years ) and the compound rate … | |
I'm trying to write a program in java...it's actually the famous game of "Knight's Tour" - I guess you're all familiar with it- just for a brief explanation what I have to do is to get from the user the row and the coloumn of the square on the board … |
The End.