35,618 Topics
![]() | |
Does anyone know why the SessionBean in the netbeans keep disappearing? I did nothing but some hard coding. But when I go back to the design page, I realised that my SessionBean is no longer there. In fact it has happened several times and even resetting netbeans doesn't help. Is … | |
Has anyone got any clever tricks for determining the size of the contents of a directory without doing the obvious (descend recursively and count bytes)? I'm trying to make a progress bar happen for a recursive descend-read-and-load of a directory, and it would be cool if I could track it … | |
Dear team, I have done some java programs .Still i am confused what is the difference between j2se vs j2ee vs j2me . Can any one explain what is the diffrence . I want to do sun certificate in java.Can any one have idea about the sun certificate. Thank you, … | |
Few questions on over riding. I am interiting a method openRead from another class, the method is to be overridden so that the scanner class uses the provided delimiter pattern, which is referenced. I need to make use of the scanner method. method from another class [CODE]public boolean openRead() throws … | |
hai i want to embed browser in my java program i google and find JDIC.I dont know how to use it. So i really wanna ask can i use Jdic to emmbed browser in my java program. Is there any good tutorial. . | |
hey, how do you return array value from the server operation/method back to the client. i create operations in the server using the "design view" and by adding operation where i declare return value and parameters of the method. the project is created in net beans. please help i been … | |
Hello guys, this is my first jsp thread ever so excuse me if it's a bit retarded, anyways, me and my mate are creating a webpage in .jsp , a project in IntellaJ 10.0 and we've been using apache tomcat to view the progress of the webpage but now it … | |
Dear friends... Here i am trying to use openCV in java using NETBEANS(windows XP).., For that i did the following .. [B]1-Install OpenCV-2.2.0-win32-vs2010.exe in C:\openCV 2-Then i put the javaCV and JNA in the library (System path.) 3-The i use thae following code in the netbeans[/B] [CODE] package samplejavacv; import … | |
Hi, I'm looking for some project ideas for my postgraduate studies.. am interested in embeded technologies with wireless data mining. Please could people suggest possible topic related the field am interested in.Reply me as soon as possible. The platform i plan to develop is Java. Thank you. | |
hi guys, i am generating a certain element using javascript inside a table.. now, my problem is that, inside a cell, i will input a text and a textbox.. if the sequence is like this, text textbox both displays in the screen, if it's like this, textbox text only the … | |
I am sorry again I have exam tomorrow this program like that exam questions I think so so I need to learn how I can do it program if someone help me and thank you so much Question:Train stations often provide ticket machines that print a ticket when a customer … | |
hi I need to this program I didn't understand this program and I couldn't anywhere someone is help me A Salesperson at a company receives a set salary each month plus commission based on the number of products sold during the month Create a Payroll Program that can do the … | |
Hi. I have this code but I want it to store the same data and function using objects. However, I would like to also know how to get information from the objects in an ArrayList. Currently the information is stored directly without the using of objects. I also want to … | |
Can anyone please give me an example of passing information FROM java to PHP and vise versa. | |
I have a HW. It must be sent to the teacher in 12 hours. Any help would be great. I need to do this using JSplitPane: [URL="http://javafaq.nu/free-swing-book/Chapter8_files/image002.gif"]http://javafaq.nu/free-swing-book/Chapter8_files/image002.gif[/URL] There are moving balls in seperate panels(not imaages). Smaller the panel's area, faster the balls move. I did the JSplitPane and Panels but … | |
Hi all, I am trying to apply Hamming window on my lengthy sound data soundSample[1000] with window length 100. Then proceed with FFT. And i found that java does have the package for Hamming window and FFT. As below, [url]http://code.compartmental.net/minim/javadoc/ddf/minim/analysis/FFT.html[/url] [url]http://marf.sourceforge.net/api/marf/math/Algorithms.Hamming.html[/url] But i hardly find an example that illustrate how … | |
[CODE]import java.io.*; import java.text.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class getname extends HttpServlet { public void init(ServletConfig config) throws ServletException { super.init(config); } public void destroy() { } public void doPost(HttpServletRequest request,HttpServletResponse response) throws IOException, ServletException { String name = null; PrintWriter out = response.getWriter(); if(request.getParameter("txtname") != null) … | |
I am working on this exercise: Write an application that asks its user to type a complete sentence on one line. The application then displays in the console window the words in the sentence, one word per line, less any punctuation. I have the following code: [CODE] import javax.swing.*; import … | |
Hi, I've decided to make a hangman game. I made this in Python last year, however I'm a little bit stick in Java, since I'm quite new to as well as Swing. Anyway, the problem I'm having is that my while loop keeps terminating if I enter 1 incorrect letter, … | |
Hey, I'm trying to get a random number for a small game which lights up random lights. I can't figure out a way to get the number random. I've tried seeding the Random() function with current time, but it's not working. It always lights up the third light. Here's my … | |
In a login page of a jsp project which is almost nearing completion I created a link to google..While clicking it says page cannot be displayed?.What can be the posible reasons? | |
Consider the following code : [CODE]class R2<E> { E a; E get() { return a; } void set(E a) { this.a=a; } } class R3 { void doit(R2 a) // (1) { a.set(new Integer(5)); } }[/CODE] When I compile the file containing class R3, it rightly gives an unchecked warning … | |
hi, all i need a code for ant colony optimizaton algorithm in java can u help me regarding this | |
Hi, I want to read an xml file thru java..all examples in google r of same type.... my xml file shows <?xml version="1.0" encoding="UTF-8" ?> - <checkstyle version="5.3"> - <file name="C:\Checkstyle\Junit\LLU.java"> <error line="2" column="8" severity="error" message="Unused import - java.io.FileWriter." source="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck" /> <error line="3" column="8" severity="error" message="Unused import - java.io.IOException." source="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck" … | |
hi all, I'm new to jsp.can any one help me to set URL authentication ?i.e., the user should use the link only by login not by typing in the URL. can anyone plz??? | |
Hi Guys I am really stuck and cant think for the heck is wrong with this. I have a basic login jsp page that gets a username and password from a page and then sends them to a login Authentication jsp script, i use [code]<sql:query var="dbData" > SELECT * FROM … | |
Hi frnds, i want to display profile from linkedin like , name , address , company and pic in my application. as "xobni" use to display . can anyone plz help me out for to do this. | |
Hai , How can i make beep sound in java,with out sound card, is it possible? how can i implement this, please help me. ![]() | |
Hello everyone, I have just recently started learning Java (previous Python programmer) and I am making a text based calculator program. I have had no problems with programming it so far, and I just need help with one part of perfecting it. [code=java] package calculator; import java.util.Scanner; public class Main … |
The End.