32,199 Topics

Member Avatar for
Member Avatar for anshusharma

hello, i am new to web services.I may be asking this question wrongly.so forgive me. In my project i have to consume a webservice using java.Could u plz say me how to Create a client api in axis2 in java to consume the webservice that has been created in vb.net. …

Member Avatar for peter_budo
0
95
Member Avatar for vamsi.ac

Hi all i am new to this foru n this is my first topic, we use erp tool kits to design portals for colleges and schools. this erp toolkit generates the java code in making this portal. so we dont have to do anything with java. But i would like …

Member Avatar for JamesCherrill
0
87
Member Avatar for PatrixCR

Hi. I'm new to java programming. I have some questions: 1) Does every java source code's [B]class name[/B] (the name after the [I]class[/I] keyword, e.g. [I]class[/I] [B][I]Hello[/I][/B]) has to be started with an uppercase character? 2) Does the java source code's [B]file name[/B] (e.g. [I][B]Hello[/B][/I].java) has to be [U]exactly[/U] the …

Member Avatar for sincerelibran
0
311
Member Avatar for pradeepsetty

Hi , I am running my own built plug-in in Eclipse 3.4.2. I successfully built my plug-in but when i try run my plug-in, eclipse is displaying following below error !SESSION 2009-07-06 17:05:16.181 ----------------------------------------------- eclipse.buildId=unknown java.version=1.5.0_16 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -dev !ENTRY org.eclipse.osgi …

0
46
Member Avatar for K?!

Hi all I was wondering if there was something like Java's JList in HTML. I guess not because I can't find anything like it in the list of the form's input types. What is the easiest way to provide the functionality of a JList? Thx in advance. Greetings, K?! Ps: …

Member Avatar for K?!
0
404
Member Avatar for JohnPhilipps

Good afternoon, I have created a little java app in netbeans that I would like to use on a PC without netbeans. Therefore I am looking into how to make an executable out of the project, I found something called "javalauncher" that is suppose to bundle the class of my …

Member Avatar for stephen84s
0
89
Member Avatar for Web_Sailor

Hi I am trying to write a file writer inside my mouse event code. I am trying to use the file name that comes from JTextField and write it into a file. Here is my code:- [code] private void jButton2MouseClicked(java.awt.event.MouseEvent evt) { JFileChooser chooser = new JFileChooser(); chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES); chooser.showSaveDialog(this); chooser.getSelectedFile(); …

Member Avatar for JamesCherrill
0
101
Member Avatar for get2tk

i an writing a room class java code that returns the temperature status of the room and return if a lightbulb is on or off. how do i write the method for the temperature? public class SittingRoom { String SRlightBulb; int SRTemperature; public SittingRoom() {String InitialStatus = null;int InitialTemp; SRlightBulb …

Member Avatar for teddies
0
109
Member Avatar for anusha88

this program divides the array into 6 segments of two elements each.but with each iteration the new array is not overwritten and it keeps displaying the first two values of the array 'array' [CODE] class tryy { public static void main(String args[]) { double array[]={12.43,34.34,4.432,9.433,4.787,4.2987,57.93,4.279,8.379,83.472,8.9867,879.56}; for(int i=0;i<array.length;i++) { for(int j=0;j<(int)(array.length/6);j=j+2) …

Member Avatar for anusha88
0
274
Member Avatar for akulkarni

[code] not clear with the basics of nullpont error; trying to create student database import java.io.*; class student1 { String name; int id; public void getdata(String name1,int id1) { name=name1; id=id1; } public void putdata() { System.out.println("\t"+id+" "+name); } } class student { public static void main(String args[])throws IOException { …

Member Avatar for JamesCherrill
0
230
Member Avatar for llemes4011

Hi. When I add a JComponent to my JFrame, it isn't the size of the remaining space in the frame. I want it to work in a way so that when i add a JComponent, it (and it's contents) stretches to fill the remaining space in the screen... Is there …

Member Avatar for llemes4011
0
143
Member Avatar for GDICommander

Hello everyone! I'm developping a chat application in a client/server context and every client has a shared directory. I want the server to know the directory structure of each shared directory of every client. I'm asking myself if there's an existing class in the Java API that can keep a …

Member Avatar for ~s.o.s~
0
206
Member Avatar for sharao

hi frnds i installed apache 2.0.59 + svn-win32-1.4.0 when iam importing upto 5 mb it's accepting when i upload my java project nearly 12 mb its showing the following error [B][U]Invalid change ordering: new node revision ID without delete [/U][/B] also tried with apache 2.2.11 + svn-win32 1.5.4 even though …

Member Avatar for sharao
0
131
Member Avatar for jonnytabpni

Hi folks, I've got a C# client which can currently communicate with a C# server. I am considering re-writing the server in Java (to make it work better on Linux). Currently, the C# setup uses BinaryReader/Writer on top of a Network Stream on top of a Socket. Is there some …

Member Avatar for kvprajapati
0
116
Member Avatar for breakid

it copy the file with 0 kb. can anyone please help me. I am working in this over a week no progress. server class [CODE] package javaapplication29; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.sql.ResultSet; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; import java.net.ServerSocket; import java.net.Socket; public class Server …

Member Avatar for ede
0
154
Member Avatar for purijatin

class A { void show() { System.out.println("show"); } } class B extends A { void disp() { System.out.println("disp"); } } class Prac2 { public static void main(String args[]) { A ob = new B(); ob.disp(); } } /*this thing shows an error */ now my question is :i thought we …

Member Avatar for purijatin
0
115
Member Avatar for akulkarni

i am getting run time error as provided in title my code is [code] class maxstring { public static void main(String args[]) { String s1="nikhil is a good boy"; int d;int x=0; d=s1.length(); String[] s2=new String[d]; char ch; for(int i=0;i<=d-1;i++) { ch=s1.charAt(i); if(ch==' ') { s2[x]=s1.substring(x,i-1); x=i+1; } } String …

Member Avatar for akulkarni
0
140
Member Avatar for Acegikmo

I'm making a Java applet that's a 2D platform game. Each map contains (So far) only collision lines, a background and a foreground image. The collision lines are used for collision detection with pretty much everything that collides with the terrain. For you guys to be able you help, I …

Member Avatar for VernonDozier
0
275
Member Avatar for sympatiko

hi im having problem on how to make the output of my programme like this: if you enter a number: (EVEN) * ** *** ***** If you enter a number:(ODD) ***** **** *** ** * im always having an output of: (EVEN) * ** *** **** (ODD) ***** **** *** …

Member Avatar for VernonDozier
0
696
Member Avatar for navarannan

[B][B][COLOR="Red"]Hi I need to develop an application which reads a csv file from a server does data validation and write to a file and then bulk upload the data to an Oracle database. The details of the requirement is The input csv file contains data that has to be populated …

Member Avatar for peter_budo
0
141
Member Avatar for painless

i m not getting the desired out put .....according to the program ,it will have to give the movement of the circle in the direction of the diagonal. [code=java] import javax.swing.*; import java.awt.*; public class DrawCircle{ int x=70; int y=70; public static void main(String[] args){ DrawCircle dc = new DrawCircle(); …

Member Avatar for kvprajapati
0
104
Member Avatar for kssi89

Hello! I'm taking a class in JAVA and learning a lot, but i'm stumped on a project where we are to find the difference between two dates. The method iv'e used is a little unconventional, I don't know if there is aproblem with the way i've structured the loop below... …

Member Avatar for JamesCherrill
0
140
Member Avatar for blueidea

[B]Background[/B] Most Java web reporting tools, especially those have some BI characteristics, often claim to end users that their products are simple to use. Some reporting tools promise that they can allow end users to make various statistical reports follow their own inclinations, and evenmake a report just by drag …

0
43
Member Avatar for srrjason

I have written some code for an Inventory program that I am working on for a Java Class. I keep getting the cannot find symbol error. I have been trying to fix it and can not. Some simple guidence would be nice. Here is what I have already with errors …

Member Avatar for VernonDozier
0
145
Member Avatar for einhachi

Here is a basic program I compiled and tried to run. import javax.swing.*; [code]import java.awt.*; public class GUITest extends Frame{ public GUITest(){ super("A basic GUI"); JPanel panel = new JPanel(); panel.setLayout(new GridLayout(2,2)); setVisible(true); } public static void main(String [] args){ new GUITest(); } } [/code] When I run it, the …

Member Avatar for painless
0
180
Member Avatar for sympatiko

im having a head ache how to make a java sample output like this: sample output: Please Enter 2 values:(number must range from 1 to 9)else display error message value 1: 3 value 2: 8 Fibonacci numbers are: 11 19 30 49 79 128 207 335 542 Even numbers are: …

Member Avatar for VernonDozier
0
109
Member Avatar for emint

helo, can any one help to read one class from another class. i em knew with java actually. i got class a which has got sub class b static class. now i em trying to access class a from another class c using button. when in class c user click …

Member Avatar for emint
0
157
Member Avatar for manveet

import java.io.*; class Abc { public static void main(String arg[]) { try{ File f= new File("c:/xyz.txt"); FileOutputStream fout=new FileOutputStream(f); byte data[]={65,66,67,68}; fout.write(data); fout.close();} catch(Exception e) { System.out.println(e); } } }

Member Avatar for kvprajapati
0
122
Member Avatar for cebubinary

hi im new to java and im learning about how to add/remove panels from another panel... [COLOR="red"] This is my main frame[/COLOR] [code=java]import java.awt.*; import javax.swing.*; import java.awt.event.*; public class DynamicFrame extends JFrame{ private JButton jb = new JButton("Remove"); private JPanel jp = new JPanel(); public DynamicFrame(){ jp.add(jb); add(jp); setVisible(true); …

Member Avatar for cebubinary
0
295
Member Avatar for anusha88

i need to install JfreeChart but I can't understand much of what the installation manual says. Which folder should you extract the Jfreechart files.How to change the classpath etc? I can't seem to understand.terribly stuck!!can anyone please help

Member Avatar for anusha88
0
419

The End.