32,204 Topics

Member Avatar for
Member Avatar for bdaya

i have a small problem in opening the record , in the sever there is a folder which contains n number of word documents, i made them to list all the files in the order and if i click on the file it should open in the MS Word and …

1
53
Member Avatar for balagangadharm

I have a variable of type float.can anyone tell me how to put this in session as an attribute so that i can use it in other pages.plz reply

Member Avatar for masijade
0
47
Member Avatar for thunderbbolt

I am learning java and was looking at this program I don't understand what is wrong with it, I am getting an error that says something about the compareTo cannot be found and variable cannot be found. [code] class Card implements Comparable { Card(int r, int s) { rank = …

Member Avatar for DrCruel
0
97
Member Avatar for mrityunjay22

jsp code <%@ page import="temperory.Mrityunjay.*"%> <%@ page import="com.MindShaper.ClassTeacher.Utility.BaseServlet.VSHttpServlet" %> <%@ page import="java.util.*"%> <%@ page import="com.MindShaper.ClassTeacher.Utility.Helper.*" %> <%@ page import="ClassTeacher.SessionObject"%> <%@ page import="ClassTeacher1.MemoryTables"%> <HTML> <HEAD> <TITLE>Student Information</TITLE> <!-- for confirm () --> <script language="JavaScript1.2" src="functions.js" type="text/javascript"> </script> <link rel="stylesheet" href="lib.css" type="text/css"> <style type="text/css"> <!-- td { padding-left: 15px; } --> </style> …

Member Avatar for mrityunjay22
0
134
Member Avatar for java_starter

Here the error i get from the file below [code] F:\JAVA\Java Files\lab employee\FulltimeEmployee.java:1: cannot find symbol symbol : class Calender location: package java.util import java.util.Calender; ^ F:\JAVA\Java Files\lab employee\FulltimeEmployee.java:22: cannot find symbol symbol : class DateComponent location: class FulltimeEmployee DateComponent dc = new DateComponent(date); ^ F:\JAVA\Java Files\lab employee\FulltimeEmployee.java:22: cannot find …

Member Avatar for Amurka
0
217
Member Avatar for cutekola

// accept numbers from 0.1 to 99.9 then count the number of tens, ones, and tenths import java.io.*; public class accept99_9 { public static void main(String[] args)throws IOException { BufferedReader abc=new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter a value: "); String input=abc.readLine(); float v=Float.parseFloat(input); float tens=v %100; float ones=v %10; float tenths=v %10; …

Member Avatar for cutekola
0
221
Member Avatar for rwagnes

I have an executable that contains java components. From the java code, I need the access the executable's modified timestamp (so I can use the year). Any ideas?

Member Avatar for rwagnes
0
96
Member Avatar for wegdan

i need to know if there is a way to make the progrm change the background color of a button next to another button [ (button[i].next).setBackground(new Color(0,0,204));

Member Avatar for Ezzaral
0
60
Member Avatar for kiennhoit

My Os is CentOS 5.0. I need Jboss for it, but i can't find it on internet. Please help me! can you give me link to download Jboss.? Thanksss!

Member Avatar for masijade
0
95
Member Avatar for filanfis8

i have this problem my file Computer.java is in desktop but not work :$ [CODE]public class Computer { public static void main (String []argv){ System.out.println("BllaBllaBllaBlla"); } }[/CODE] here is the screenshot [URL="http://aycu40.webshots.com/image/30159/2002091781242929104_rs.jpg"]http://aycu40.webshots.com/image/30159/2002091781242929104_rs.jpg[/URL]

Member Avatar for parthiban
0
77
Member Avatar for ravinderreddy

want to capture the system idle time. Means if the user did not press any key or did not move the mouse then it is considered as system idle time. I want the code for this in Java on windows operating system. Please help me.

Member Avatar for zOlive
0
205
Member Avatar for iCez

Can anyone help me debug this, I am getting a lot of errors. :( here's the example case: [I]User inputs.. Enter Row: 3 Enter Column: 3 Output 1 2 3 2 4 6 3 6 9 [/I] Here's my code: [CODE]import java.io.*; public class Test2 { public static InputStreamReader reader=new …

Member Avatar for iCez
0
89
Member Avatar for sawant_nitesh

What is the future of JAVA ? JAVA was overcoming Microsoft's .net because of it's platform independence. As in coming couple of years , Microsoft is going to launch a version of .net that will support all platforms like windows, unix, linux etc. Then will .net become trouble for JAVA …

Member Avatar for hopalongcassidy
0
179
Member Avatar for Phaelax

I've done custom components before, but never for a whole window. How would I go about changing the title bar on a window? I bought a book on UI designing from amazon, just hasn't arrived yet. I just need a basic place to start.

Member Avatar for peter_budo
0
91
Member Avatar for push

can any one send me ECG wave(puls) generatimg code for java. PLS...............

Member Avatar for masijade
0
53
Member Avatar for hidash_in

[B]the below code is to list the running exe files in the windows task manager. but i need only the running applications in windows task manager. if aybody knows pls help me by sending code for this. i am awaiting pls.[/B] import java.io.*; import java.util.*; public class GetProcess { public …

Member Avatar for masijade
0
181
Member Avatar for roadoggdna28

has anyone else had this problem? i downloaded java, then, when i tried to access it, this message popped up: "to restart the java(TM) installer, please refresh the web page" first of all, I wasn't even on the page when it happened then the same thing happened when i WAS …

Member Avatar for jwenting
0
51
Member Avatar for alexasmith

I don' t know how to logically go about this problem...I need to read a sentence (input) and then print the same sentence back out to the user in alphabetical order(could also include numbers). Oh and I am not allowed to use any kind of sorter such as 'sortwords'. This …

Member Avatar for Ezzaral
-1
96
Member Avatar for JavaNewbie07

I am trying to add the integer elements of two Linked Lists. How do I add the contents of two elements of a linked list. For example: public void main { ........ LinkList newList = new LinkList(); ......... Link link1, link2, linkAns; ...... ...... link2 = newList.deleteFirst(); link1 = newList.deleteFirst(); …

Member Avatar for JavaNewbie07
0
91
Member Avatar for qinise4
Member Avatar for venkatnavi

Hi, This is naveen, i am having a problem that, i am having a combo box in the JSP page when i select an item from that i am calling the onchange function. In javascript i am getting the value now i want to pass this value to JSP scriptlet.. …

Member Avatar for hudz
1
13K
Member Avatar for mCardos

The assignment ask for a looping statement and should print out a table of values for example N 10*n 100*n 1000*n 1 10 100 1000 2 2 200 2000 my code just prints the N 10*n 100*n 1000*n I am a noob at this but really trying! Can anyone help …

Member Avatar for mCardos
0
69
Member Avatar for nhlagumbi

Hi guys!!! i really need your help, i have an assignment due very soon. Its a java application and java applet, it should display the cpu ver, cpu speed, ram size and hard disk size of the lacal machine. PLZ help guyz

Member Avatar for nhlagumbi
0
434
Member Avatar for newbieGirl

I don't know why I'm spacing out tonight, because I've been doing fine, but I'm stuck on one thing. I've already written the first part of my program (get integer input from the user, then calculate the product, and display), but the second part (not required, but I thought I'd …

Member Avatar for newbieGirl
0
131
Member Avatar for naomiauk

Hi everyone, I have been assigned a project where I must design a information extraction system for computer science conferences. This system must use java as its programming language. It must have a page where you can enter a keyword for example 'computer science' and the extraction system must search …

Member Avatar for nschessnerd
1
99
Member Avatar for everywherewego

ok so here is goes heres the question Write a JAVA program that takes a one-line sentence as input and then outputs the following response: If the sentence ends with a question mark β€˜?’ and the input contains an even number of characters, then output the word β€œYes”. If the …

Member Avatar for peter_budo
0
69
Member Avatar for PL.P27

Hi Everybody!! I'm new to java and am experementing with GUI and would like if someone could please help me, because I can't figure out how to fix the problem. The part in red is the part where I cannot figure out how to fix it because it says it's …

Member Avatar for PL.P27
0
3K
Member Avatar for mariejt

Good Morning! I am trying to create a Book2 object and assign to Inventory_Program6a. When I try the following: Book2 newBookTitle = Book2(); I get the error message: C:\java>javac Inventory_Program6a.java Inventory_Program6a.java:325: cannot find symbol symbol : constructor Book2() location: class Book2 Book2 newBookTitle = new Book2(); ^ 1 error I …

Member Avatar for cms271828
0
113
Member Avatar for triuno

Please help, I have the following problem: I have several domains and I used a short java script in order to refresh the index page in order to get rid of the advertisement that for ex register.com places there if you dont pay extra to remove it. ( the problem …

Member Avatar for MidiMagic
0
35
Member Avatar for rwarrender

Hiya, I'm currently working on a little java program that will scan through a directory, reading php files and then dump out a list of function names for that particular file. Does any one know how I can modify my regex to exclude functions that are inside /* */ comments? …

Member Avatar for rwarrender
0
79

The End.