35,618 Topics

Member Avatar for
Member Avatar for Killer_Typo

[CODE]Could not connect to: : 50404 java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:520) at java.net.Socket.connect(Socket.java:470) at java.net.Socket.<init>(Socket.java:367) at java.net.Socket.<init>(Socket.java:180) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.connect(RemoteTestRunner.java:560) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:377) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) [/CODE] has anyone run into this issue and or find a fix? I've not been …

Member Avatar for dmanchester
0
1K
Member Avatar for jooa

Hi, I am trying to write some code which uses a JSlider to specify the number of lables to be displayed on a frame. I know how to create the JSlider and display it, but I am not sure how to implement different numbers of lables. I hope someone can …

Member Avatar for VernonDozier
0
105
Member Avatar for orangedog

I have a jsp page where certain parameter/value pairs need to be sent to one application server and a different set to another totally different server, is there a way to do that by the user pressing one submit button. And if not why not?? Wouldn't you think it is …

Member Avatar for orangedog
0
92
Member Avatar for joglekar

Hi All, I have been facing this issue for a while now. We have a site and it has the a few JSPs for the *view* part. In it, if the screem resolution of the monitor is reduced below 1280 x 600. i.e. if the display resolution is set to …

Member Avatar for joglekar
0
277
Member Avatar for alsoumhi

Hi all , I have been given a task which is to create a (log in )web page , user has to log in to the page after that a page with many links of forms such as leave form, feedback form,complain form,...etc. once a user has clicked to one …

Member Avatar for kvprajapati
0
100
Member Avatar for weblover

hi all ...how are u? i have a question ...how can i output the items of a java Stack ...is there any predifine method?? and another question ...how can i use the class Queue without interface ? ...because i'm typing in my code (Queue q =new Queue();) but it's giving …

Member Avatar for weblover
0
205
Member Avatar for titosd

Hello, I have a question about sorting. How can I sort HashMap by element in the HashMap ? That's meaning, if I have in the Sys class map such as: [code=java]protected Map <Constructors,RaceTeam>raceTeam=new HashMap<Constructors,RaceTeam>();[/code] and in the RaceTeam class I have this variables: [code=java] protected Constructors name; protected int totalScore; …

Member Avatar for titosd
0
87
Member Avatar for mudunuru
Member Avatar for alsoumhi

Hi all , I have been assigned to do a task which is to create a web based application, the task is actually a normal form application, I have to use that form and make it online as a web-based application and store the information in a database I know …

Member Avatar for alsoumhi
0
152
Member Avatar for kakakon

Hello, I have a Tree structure with custom TreeNode nodes. The structure of TreeNode is: private int level; private String label = null; private String data = null; private TreeNode parent = null; private Vector <TreeNode> children = null; I should find each unique path from root to all leaves …

Member Avatar for kakakon
0
162
Member Avatar for anshusharma

hello, My application is rendering the map by using the geospatial data from the database.when i zoom the map by certain value of the zoom factor, my map image gets zoomed.but the text that is there on the map image remains the same size.how to zoom this text ?? thanx …

0
42
Member Avatar for anshusharma

hello everybody i am newbie to jsp. working on some project and struck into some problem. my poject is about web rendering . i am creating a buffer image and storing that in to some file .when i am trying to open this file on browser using jsp,it is not …

Member Avatar for anshusharma
0
107
Member Avatar for juser11

Am having problem calling a simple stored proc to insert data from a java program. The insert statement works fine when called directly with prepare statement. But when I use call it through a strored proc I get an error. jar file is ojdbc5.jar. - oracle10g. Then i tried another …

Member Avatar for kvprajapati
0
798
Member Avatar for samrin

this is my code and it says i have problem in line 5 which i couldnt solve . can anyone please help me with this soon! [code=java]import java.text.*; public class SavingsAccount { private double static annualInterestRate; //declare static variable private double savingsBalance; //instance variable public SavingsAccount(double bal); //constructor { savingsBalance= …

Member Avatar for samrin
0
120
Member Avatar for KirkPatrick

I'm having a problem deciding how to handle a situation. I'll briefly explain whats going on before I ask the question(s). I have a viewObject (bean) and what it does is display information that is gathered. To keep it from getting too complicated I'll say I have 3 jLabels. One …

Member Avatar for ~s.o.s~
0
97
Member Avatar for exzibit23

is it possible to use try catch exception inside while loop? [code=java]while(username_ctr <= 5){ try{ user1 = str_div[username_ctr].indexOf("open_pm_tab",username_start); user2 = str_div[username_ctr].indexOf("')", user1); user3 = str_div[username_ctr].lastIndexOf(',', user2) + 3; str_username[username_ctr] = str_div[username_ctr].substring(user3, user2); //System.out.println(str_div[username_ctr].substring(user3, user2)); username_ctr++; }catch(Exception e){ slash1 = str_div[username_ctr].indexOf("</font", 0); slash2 = str_div[username_ctr].lastIndexOf('*', slash1); //System.out.println(slash1); //System.out.println(slash2); //System.out.println(str_div[username_ctr].substring(slash1, slash2)); //System.out.println(str_div[1].substring(slash2,slash1)); …

Member Avatar for ~s.o.s~
0
4K
Member Avatar for Web_Sailor

Hi, I am trying to do something like this:- [CODE]1 10 20 30 ##########|##########|########## rect 1 rect2 rect3 5 ########### 15 user rect - (transparent and temporary based on user mousedrag) [/CODE] Now If a user clicks suppose in the middle of rect1 and drags it to the middle of …

Member Avatar for Web_Sailor
0
165
Member Avatar for VernonDozier

I'm starting to experiment around with Java Web Start since applets have some limitations. I'm using Net Beans and it's working fine except that I get this pop-up when I run it: [quote] The application's digital signature cannot be verified. Do you want to run the application? [/quote] It would …

Member Avatar for VernonDozier
0
513
Member Avatar for KirkPatrick

I'm having a problem with my countdown timer and am figuring that I'm missing something obvious. All I'm trying to do here is get my jLabel to countdown from 60 to 0. [code] ActionListener refreshListener = new ActionListener() { int counterLimit = 60; public void actionPerformed(ActionEvent e) { javax.swing.Timer refreshTimer …

Member Avatar for KirkPatrick
0
117
Member Avatar for kimbokasteniv

So I am writing a voice activated recording program, and one of the things I would like it to do is plot the current and past volume level on a JPanel. Write now I am simply reading one byte from the audio buffer, converting it to an int, taking its …

Member Avatar for kimbokasteniv
0
215
Member Avatar for exzibit23
Member Avatar for masijade
0
45
Member Avatar for alsoumhi

Hi all , I have decided to use java applets and java servlets regarding creating a form.(because I don't know other langauages except java) guys the scenario is like this , visitors will enter to website, surfing it and then they will enter to feedback form , they have to …

Member Avatar for kvprajapati
0
105
Member Avatar for grisha83

Hello, I am getting out of bound error whenever i run the program and trying to add a Node (this would be in my switch). but the error that i am getting is just above my switch statement. Can anyone help me to figure out what it is that i …

Member Avatar for grisha83
0
217
Member Avatar for abhishaki

hello friends,I made an applet to calculate sales tax but i am having a problem in executing it.It is giving error on execution. and the error it is giving is, cant create:java.lang.reflect.InvocationTargetException following is the piece of code of applet. import java.awt.*; import java.awt.event.*; import java.text.*; import javax.swing.*; public class …

Member Avatar for abhishaki
0
169
Member Avatar for SnagglezMaw

I'm trying to compare lines in two different files. The basic idea is I want to take line 1 of file 1 and compare it to all the lines of file 2 and print the results into a third file, then do the next line of file 1 and repeat …

Member Avatar for Ezzaral
0
113
Member Avatar for elnuk

i want to write an application that will use a mobile phone to make voice broadcast in java.I know it is possible,but what are the dimensions,i will be very grateful if any1 can render an opinion to help me out

0
43
Member Avatar for dev.mena

i made an audio application confernce using tcp it was good but the delay was not good i try to do it using udp but i found some problem like nat network and i can't use the same socket to send and receive in two threads tell me this socket …

0
41
Member Avatar for nagachaitanya

1. a. Create a parent class "Vehicle" with one method "turnLeft" that prints "Vehicle turning left". b. Create a child class "Bike" which overrides the "turnLeft" method and prints "Bike turning left". c. Create a Vehicle reference referring to a Bike object. Is it legal? What happens when the "turnLeft" …

Member Avatar for JamesCherrill
0
115
Member Avatar for Ankita B

Hi,Im makin a web based application.For users to access it they need to login. I m using java,jsp,html for this.I wish to know how can i prevent access to the pages of application without logging in i.e. if user types in URL of some page of application in the address …

Member Avatar for deepak_8917
0
171
Member Avatar for mc080201812

1 [icode]<%@page import = “java.util.*” %>[/icode] 2 [code=JSP]<% String s1= request.getParameter(“str1”); String s2= request.getParameter(“str2”); str = concatenateStr(s1, s2); %>[/code] 3 ) [code=JSP] <%! String str ; public String concatenateStr(String s1, String s2){ return s1+s2 ; } %>[/code]

Member Avatar for javaAddict
0
35

The End.