35,618 Topics
![]() | |
I need to implement a huge array of 2100000 integer elements. I have to find duplicate elements in this array which means there will be lot of search. Can you please suggest me an efficient way to implement this? What collection to use and how to search. | |
i have experience in php but i need to persue my career in JSP. Anybody suggect the site where i get jsp freelance project. i am ready to project free also.i have very good knowledge in j2ee application(swing.struts,ejb,javabeans) and have very good knowledge in web technology. | |
Hi I am very new to java as its part of my course and I am stuck I have written part of this basic code below [code] import java.util.Scanner; import java.io.File; import java.io.IOException; import java.awt.image.BufferedImage; import javax.imageio.imageIO; import.java.awt.Color; public class FinalExam { public static void main(String [] args) throws IOException … | |
Hi, I was just wondering why my program wouldn't output the elements that I entered. Thanks in advance. [CODE]//Scanner utility import java.util.Scanner; public class A4 { public static void main(String[] args) { //Reads user input. Scanner inputReader = new Scanner(System.in); //Declares an array,size of the array is 10. int[] elements=new … | |
I was planning on releasing the source of my applet but I wanted to wait till i was done to do that. It got decompiled before i was ready. Is there any practical way to prevent decompiling? i googled and all the articals said how easy it is to decompile … | |
How would I sort an array or arrayList of strings into alphabetical order? | |
hi i am not famelier with this site and i dont know how to ask for help i want to implement breadth first and depth first search for solving 8 buzzel problem may you help me? | |
Hi all..i make a program use javascript to call VB.Net function..but it doesn't work...can somebody help me to check this code... [code=vb.net] Imports System.Runtime.InteropServices <ComVisible(True)> _ Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.ObjectForScripting = True WebBrowser1.DocumentText = "<Script language='JavaScript'>" & vbCrLf … | |
Hello I have an assignment that is due and am in need of some dire help. I would appreciate all the help that I can get. Please bear with me. I am new to Java and Daniweb. I have to create a java application that displays the product number, product … | |
I recently downloaded the Eclipse(Ganymede) EE editor.I also downloaded the web application server community(WASCE 2.1) edition from IBM. I started off with a simple HelloWorld web application.i just displayed the msg in the default index.jsp page. When I deploy the application on the WASCE server the web browser is showing … | |
Hi all, I'm a computer science student in my last year. I need an idea for my graduation project. I prefer JAVA as a programming language. I'm trying to implement a web browser but I think a web browser is a traditional idea so I am looking for a new … | |
I have to write a class names Hexagon that extends the superclass GeometricObject. This is what I have could anyone help me pleas? [code] public class Hexagon extends GeometricObject{ private double side; /**Construct a no args constructor with a defaukt side*/ public Hexagon(){ //Implement it } /**Construct a Hexagon with … | |
Hi I have a requirement in my project to show a dynamic tree on the left hand side of the page and on clicking on tree node, content will be displayed on the right hand side as the main body.Also there is one submit button+ pagination support on the table … | |
How to create multiple layouts in one activity? Regards | |
Hello, Im studying java in high school. Im building a project that containts ZBuffer so I have a problem impleting it with 3D models cuz I have a problem getting all of the pixel in a face that is made of 3 dots could some one suggest an algorithim for … | |
enter 5 nodes if there is a number "3" entered, a number "4" is automatically inputed at the right side of number "3". if there is a number "2" entered, a number "1" is automatically inputed at the left side of number "2". can you help me dudes you see … | |
I already have the application run on my first server... and now i want try to run this application on the backup server. I have installed the tomcat 6.0.14, sql server 2005 and jre1.5.0_12. when i try to run this application this error was come... Can somebody tell me what … | |
If this isn't the right place to ask about JVM, then please direct me to the correct place, thank you. :) Anyways, I was wondering about the arraylength command. Would I be able to use that in order to find the length of rows and columns in a predefined matrix? … | |
Hello again, got another Java question. I am trying to draw an oval from the Alien class to the Canvas in the Game class. Here is the code [CODE]import javax.swing.*; import java.awt.*; /** * The Evil Ovals! * * @author Eric Foertsch * @version Nov 2009(1.0.0a) */ public class Alien … | |
Hey I need some help with my java game Im making. I wont to have an menu with 4 options, startgame, highscore, option and quit. They quit button is easy I just setVisible(false) but when i click on the other buttons I wont to remove the buttons and include new … | |
welll it is just a program that generates 2 random numbers for the user...the user inputs their answer and if it is correct it adds 1pt to their score. But then it is also supposed to generate a new problem, but I do not know how to code that in. … | |
Hi, everybody. i want to get file name from html file input form using jsp. my codes are followed as: [CODE] <table> <tr> <td > <input type="file" id="csvfilebrowse" name="csvfilebrowse" value="" width="400px" style="width:400px; height:20px" onChange="getcsvfilename();"> <script type="text/javascript"> // <![CDATA[ function getcsvfilename() { var v_csvfileName = ''; v_csvfileName += document.getElementById('csvfilebrowse').value; getCSVFileContents(v_csvfileName); }; … | |
Hi! Dear Friends.. Can you please help me to answer : Can mutation testing be successfully used in an industrial environment? Thanks! | |
please tell me the reason for the error.[code]new Double("25D"); // Ok new Long("25L"); // Error[/code] | |
I need java program for SHA message digest and encrytion and decryption in RSA | |
Hi guy, I writing a simple syntax highlighting code which has loop due to comparisons of the reserved keyword against the input text , the code is a little bit processor hungry so, I decided to put the expensive loop on a separate thread, but with no good, in addition … | |
Guys newbie here, I need your help. I need to create a program that will compute for the following entered values and will determine the equivalent grade: Formulas: Midterm Quizzes = 30% Midterm CS = 20% Midterm Exam = 50% Final Quizzes = 40% Final CS = 10% Final Exam … | |
I have an program that allows a user to input their employee name and number and then their hourly wage and their total number of regular hours and overtime hours. Then writes out the data to a binary file. The program I need assistance with reads in that file, adds … | |
Hello, I am hoping that somebody can help to provide some guidance on this for me. I am tasked with writing this class for a Java class I'm taking: Write a class encapsulating the concept of coins, assuming that coins have the following attributes: a number of quarters, a number … | |
I"ve thought i have noticed some strange behavior after compiling. most of the time i compile the class files update with my changes. Now and then i feel i need to delete my class files in the folder and do essentially a rebuild all to make the program start working … |
The End.