35,618 Topics

Member Avatar for
Member Avatar for bonzi200x

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.

Member Avatar for JamesCherrill
1
112
Member Avatar for aarya

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.

Member Avatar for peter_budo
1
179
Member Avatar for may781

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 …

Member Avatar for javaAddict
0
105
Member Avatar for Solani

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 …

Member Avatar for masijade
0
116
Member Avatar for adams161

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 …

Member Avatar for dleskov
0
93
Member Avatar for lil_panda
Member Avatar for gregoryalussier
-1
726
Member Avatar for jehad

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?

Member Avatar for kvprajapati
0
126
Member Avatar for soeppp

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 …

Member Avatar for shazi786
0
139
Member Avatar for intelnf09

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 …

Member Avatar for intelnf09
0
1K
Member Avatar for vinaykumar1690

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 …

0
57
Member Avatar for sah701

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 …

Member Avatar for peter_budo
-1
32
Member Avatar for xen2676

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 …

0
39
Member Avatar for ronakp25

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 …

0
58
Member Avatar for farag
Member Avatar for Katark

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 …

0
54
Member Avatar for reyarita

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 …

Member Avatar for BestJewSinceJC
0
79
Member Avatar for Spirate

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 …

Member Avatar for masijade
0
164
Member Avatar for kekekerush

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? …

Member Avatar for BestJewSinceJC
0
92
Member Avatar for RoflNinja

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 …

Member Avatar for adams161
0
561
Member Avatar for Philip435

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 …

Member Avatar for Ezzaral
0
115
Member Avatar for smoothe19

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. …

Member Avatar for smoothe19
0
133
Member Avatar for starboy

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); }; …

Member Avatar for peter_budo
0
158
Member Avatar for smart.java6

Hi! Dear Friends.. Can you please help me to answer : Can mutation testing be successfully used in an industrial environment? Thanks!

Member Avatar for gusano79
0
77
Member Avatar for Nagarajan.M

please tell me the reason for the error.[code]new Double("25D"); // Ok new Long("25L"); // Error[/code]

Member Avatar for majestic0110
0
79
Member Avatar for schandru

I need java program for SHA message digest and encrytion and decryption in RSA

Member Avatar for UIT
-3
129
Member Avatar for MxDev

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 …

Member Avatar for masijade
0
90
Member Avatar for emcee123

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 …

Member Avatar for emcee123
-1
112
Member Avatar for Ryujin89

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 …

Member Avatar for AndreiDMS
0
246
Member Avatar for Nightryno

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 …

Member Avatar for JamesCherrill
0
230
Member Avatar for adams161

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 …

Member Avatar for masijade
0
107

The End.