35,618 Topics

Member Avatar for
Member Avatar for sharao

Hi Frnds My application is in System A, i need to run System A application from System B like., In System B, server.xml file i will provide in below format [code=xml]<Context docBase="\\System A\E:\Go-Live\CIS" path="/cis" privileged="true" debug="10" antiResourceLocking="false" antiJARLocking="false"> </Context>[/code] url: [url]http://System[/url] B/cis Could u plz know me that above format …

0
56
Member Avatar for vAshunk

i have a problem in a java program. : "accept a number and print the sum of digits." can anyone help me out???

Member Avatar for vAshunk
0
169
Member Avatar for Fenerbahce

hi, i receive an error on this line -- if (salesPersonsName <! "end") -- error : operator ! cannot be applied to java.lang.String what can i do? thanks

Member Avatar for masijade
0
248
Member Avatar for beforetheyknew

How do you write a driver class? i've never used one before and its sort of dropped into the spec of this program. It uses public static void main(String[] args){} right? i have 4 other classes, so what should i do?

Member Avatar for javaAddict
0
152
Member Avatar for softswing

Hai Friends, Am programming in java swing, am using scrollane with scrollbars, i want to move the scrollbar at the middle of the panel at starting,am used setvalue but it not setting the given value. please reply me the solution for this problem.

0
50
Member Avatar for TotalHack

So my code does everything I want it to do with the exception of when writing to storage I am not sure how to make true and false write as 1 and 0 respectively. I do not know if it's my syntax or my placement within my program...Kind of lost …

Member Avatar for JamesCherrill
0
160
Member Avatar for manojmaruthoor

I am working in J2EE platform running in Apache Tomcat Server.Now i am stuck with 2 problems 1.I am using JApplet and invoking them in JSP page.This JApplet is enclosed with reading an xml file and displaying its contents.This is not working when i call the Applet in jsp page.I …

0
57
Member Avatar for TheRekz

As you can see here that I have a text box with three submit buttons each redirecting to a different jsp page, however in those jsp pages, when I do request.getParameter("bid"), all I get is null... How can I fix this? [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> …

Member Avatar for javaAddict
0
523
Member Avatar for rimorin

Dear JavaFans, I notice that if you use FileOutputStream and FileWriter to write a string into a textfile (.txt) , the Java i/o implementation doesn't seems to recognize the syntax \n which is the newline function. Anyone facing the same problem? The output text file will simple display all strings …

Member Avatar for rimorin
0
113
Member Avatar for JGClifton

Hi guys, Firstly, thanks for the great community, have been lurking for a while and have picked up a lot of help from existing threads. I am making a small program which takes some inputs as strings, i then need to display a list of these inputs, be able to …

Member Avatar for rs25
0
201
Member Avatar for dahliababy

[code] package squishgame; /* * The stop watch class will allow a program to start and stop a stopwatch as * well as return the stopwatch as a string, a total ms's, or the hour, min, and * seconds separately. * * The System.currentTimeMillis() returns the number of milliseconds since …

Member Avatar for kdkanishka
0
93
Member Avatar for feartrich

Basically, this program checks if a word (String s) is a palindrome and prints out "true" if it is and "false" if it isn't. I am currently getting three errors: "unexpected type" at line 17, "incompatible types" at lines 30 and 32. [CODE=java]/** * @(#)palindrome.java * * * @author * …

Member Avatar for kdkanishka
0
68
Member Avatar for Sandar Khin

Hi all, I want to make plugin.Pls tell me steps of making plugin in java.Thank for any answer.

Member Avatar for Sandar Khin
0
68
Member Avatar for Hanyouslayer

I have been working on this for a bit, and I have made some great strides. However, there are just a few things bugging me that I can't seem to figure out. This is an assignment, and I don't expect anyone to toss out an entire program for me. However, …

Member Avatar for Hanyouslayer
0
314
Member Avatar for beforetheyknew

I need this to try every ables[z] and the move on to another check. How can i check if its finished without finding the right word in the ables against the other array. Or if its finished and has found the word. [code] for(int i = 0; i < array1.length; …

Member Avatar for adams161
0
88
Member Avatar for muusa

i am trying to send a file using tcp on the local host itself but not sucessful. here iz the program tht i am trying to use. server side [code] [import java.lang.*; import java.io.File; import java.io.InputStream; import java.io.FileInputStream; import java.net.Socket; import java.net.ServerSocket; public class FileReceiver implements Runnable { private static …

0
73
Member Avatar for beforetheyknew

How can i insert a decimal point into either an integer or a String(probably a String), 2 decimals from the right? like with money? eg/ 13922 139.22

Member Avatar for cale.macdonald
0
66
Member Avatar for c.pentasuglia

Really any ideas will help but id like to try and make the game hangman. id like to mak it simples in a gui(i dont really need the image of the hangman) but id like to atleast have it show all the letters and make them dissappear as they guess …

Member Avatar for adams161
0
101
Member Avatar for nillsource

Hi, I nead to do some menu in gui Netbeans. I have got buttons, and a nead to change one JPanel in witch is some others components. Could you help me how to change JPanels? or some another way to do menu? i'm not good at it :(

Member Avatar for javaAddict
0
127
Member Avatar for Izzywizz

Hello I am a fairly new to Java, below I have created a program for calculating the distance between two cites that is inputed by the user. For the second part of my program I need to have a menu system and the constant SPEED value to change according to …

Member Avatar for Izzywizz
0
134
Member Avatar for kolibrizas

As i paint any figure in Java, the lines don't look smooth and I clearly see pixels. Any not very difficult solutions?

Member Avatar for kolibrizas
0
112
Member Avatar for divya2909

hi everyone divya hea..i'm new to java..i gotta do a inventory project in java..i've been told its simple..but i just dont seem to know how to do it..pls help..:Spls someone submit the code..i've attached the project details as images pls jus c it..thnx

Member Avatar for divya2909
0
76
Member Avatar for Nightryno

Hello, I've worked on some code for a project I have to do but I'm a little unsure about a few parts that I was hoping somebody could provide some clarity on. Here is the project that I'm working on with the code and question on it to follow: Write …

Member Avatar for GTJava
0
165
Member Avatar for topest1

Hello all, I m a newbie in java, I m writing code to change the text of the JLabel on the mouse over to the JButton I m facing some problem in Updating [B]Initial Label:[/B] [ATTACH]12891[/ATTACH] [B]After setText:[/B] [ATTACH]12892[/ATTACH] label.setText(); It doesn't update properly New text gets overwritten on old …

Member Avatar for topest1
0
602
Member Avatar for musthafa.aj

i successfully edited windows registry using java API... BUT THE PROBLEM IS whether i need to reboot os or not... because after editing it has no effect... if i need to reboot then how can i skip it(i strictly dont like to reboot...)... any java snippet available,, plz....

Member Avatar for kdkanishka
0
182
Member Avatar for cms271828

Hi, I'm building an application and I want to it to play mp3 files. I have it working, basically by installing JMF2.1.1e, and then I add its jmf.jar file to the build path of the project within eclipse. When I then jar up the project, and place on desktop, it …

Member Avatar for mlikesit
0
466
Member Avatar for aakaashjois

Can anyone mention all the math functions i require for making a scientific calculator. I am making a CUI version of it (The one which is opened in cmd).

Member Avatar for kdkanishka
0
126
Member Avatar for SORelena

please help me ^_^ I want using thread in this program but I don't know ..?? ____________________________________________________ [CODE]import java.util.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; //------------------------------------------------------------------------------------------------ public class MyApp extends JFrame { // Data static boolean stopped = true; // Is the counting stopped? (True or False) --> shared variable …

Member Avatar for SORelena
-2
101
Member Avatar for rahul8284

hi all, i made a web application through netbeans and in its web.xml file i set the session timeout as according to my requirement(let's say 1 min.)and then i made a class implementing sessionlistener and in its session destroyed method i removed the atribute(say empno) from session. The whole application …

Member Avatar for parry_kulk
0
78
Member Avatar for ishlux

Hi all, I have connected the mysql database......but if i run my jsp code, it is giving an error..........whats the main reason for this. I have gone through some cases based on database connection, in that they said we have to copy mysqlconnector.jar file in lib folder of jdk.... but …

Member Avatar for peter_budo
0
91

The End.