32,199 Topics

Member Avatar for
Member Avatar for alias120

I am having a lot of trouble getting this program to work properly. No compilation errors, but this is the output i get when i compile; init: deps-jar: Compiling 1 source file to /home/alias120/NetBeansProjects/createFile/build/classes compile: run: Checking to see if file already exists... true You produced the following file contents: …

Member Avatar for alias120
0
78
Member Avatar for rosiecomsoft

[B]IN JAVA!!![/B] what is this "noclassdeffounderror"??? i m getting this error at run time what should i do? while searching on Google i found this "public NoClassDefFoundError(String s) Constructs a NoClassDefFoundError with the specified detail message. [B]Parameters[/B]: s - the detail message." :confused:

Member Avatar for Ezzaral
0
79
Member Avatar for joker21

The program must allow the user to create a login by using Dr.Java GUI. After he creates a log in it will ask the user would he like to by an Xbox360 game or a PC game. After the user clicks the box it opens a selection of 10 different …

Member Avatar for Ezzaral
0
243
Member Avatar for v-n
Member Avatar for mmmusa

Hello everyone can someone please help me on my TMA..........i'm having problems in the following Q's....please provide me the codes SNIP I WILL BE REALLY THANKFUL TO YOU:pretty: C) - Translate the following scenario to a Java Program: [10 M] We assume that an array a of size n and …

Member Avatar for javaAddict
0
216
Member Avatar for airey1988

Hi, i am a newbie at this and i am having problems with the following errors. U:\year 3\AssignmentFinal\Customer2.java:29: non-static method setName(java.lang.String) cannot be referenced from a static context i have inserted my code below any help would be greatly appreciated. [ICODE] // customer class import java.io.BufferedReader; import java.io.File; import java.io.FileReader; …

Member Avatar for birina
-1
1K
Member Avatar for gitech

Hai Friends, i want read the string from server and to write in bytes to openOutputStream. Example : byte bytestr[]={0x1D,0x28,0x4C,0x87,0x02,0x30,0x43}; StreamConnection con =(StreamConnection)Connector.open(serverConnectionString); os = con.openOutputStream(); os.write(bytestr); i want to read bytestr from server as string using httpconnection, and to convert to byte array,how can i implement this. please help …

Member Avatar for peter_budo
0
141
Member Avatar for bharanidharanit

Hello, Where to download jade.core and jade.wrapper packages??? Thankyou

0
70
Member Avatar for Zibo

Hello. I've got simple JFrame and into that I put JPanel (object of subclass of JPanel class). I want to check, what's this panel's size from inside of this panel class, but every method (getSize, getBounds) returns [0,0]. If I call getSize method from JFrame class, then it's fine, but …

Member Avatar for Zibo
0
188
Member Avatar for llemes4011

Hi, I was wondering it was possible to write a program that runs from the System Tray in Windows XP. For example, AVG runs all the time, but is on the System trey, so you don't worry about it until you need it. I was wondering if it's possible to …

Member Avatar for JamesCherrill
0
92
Member Avatar for MrMackey

Hi everyone, Here I will keep you updated on my first java project that I do, excepting the school projects. The main Idea is to make a new window where calculations are done by [B]multiple inputs and outputs[/B]. At school I already learned to make windows, fields and buttons, but …

Member Avatar for verruckt24
0
82
Member Avatar for Lib Auth

Hello there, I have this script which I have edited and altered, to create a demo of what I want (the original coming from Dynamic Drive). Is there a way to achieve this in CSS? Thank you, Regards, Grant

Member Avatar for Airshow
0
98
Member Avatar for jaiprakash15

Dear Friends, am working on a project where i have to convert the HTML file to a PDF file. am using tidy and fop methods for converting. am not good at XSL style sheet. when i try to run the program by giving the input file (39.html) to ma program …

0
92
Member Avatar for add4

How can i check if the ObjectOutputStream has unread object wriiten to the stream? When i'm runnig my program which has server and client (the client sends the screen shot and the server displays it) in the client side i got an error(java.lang.OutOfMemoryError: Java heap space), any one can help …

Member Avatar for JamesCherrill
0
100
Member Avatar for kanodi

Hi guys, wonder if you could help me with a problem I am having. I am working on a app that parses an XML file, and when executed from my IDE(Netbeans) all works flawlessly, however when I deploy and execute my app via Webstart I get a NullPointerException on the …

Member Avatar for kanodi
0
215
Member Avatar for redmaverick

I have to generate html files from .java files. I tried generating from eclipse but was stumped. there are just 4 files. Can somebody help me out. Send me a pm please!!!

Member Avatar for redmaverick
0
116
Member Avatar for add4
Member Avatar for sneharaveendran

public class Test { public static void main(String[] args) { String line=".Raghu"; System.out.println(line); char[] h= line.toCharArray(); char[] f=null; int c=0; if(h[0]=='.') { for(int i=0; i<h.length; i++){ f[c]= h[i]; System.out.println(f[c] + h[i]); c++; } f[c]='\0'; } } }

Member Avatar for sneharaveendran
0
94
Member Avatar for JustmeVSI

I'm having a project form school for a inventory management system and I want to do something extra. The inventory management system is for spare parts for machines and I want to be able to see the the manuals(PDF files) for thous machines in the GUI but I have no …

Member Avatar for hardik.rajani
1
240
Member Avatar for hemanthjava

Hello there, I am using the JTextPane in my Java Swing Application. How do I make it Handle Hypelinks. Like lets say the use enters [COLOR="Green"]\\some_foldername\some_subfolder_foldername\some_file.xls [/COLOR]or any other file type, It should Automatically, treat it as a hyperlink. Is it Possible to have such a functionlaity [B][U]JTextPane Hyperlink Functionality[/U][/B] …

Member Avatar for hardik.rajani
0
2K
Member Avatar for grisha83

Hello, I have an assignment where i have to create few methods using linked lists. one of them is method that should create an integer singly list and return the head. While i know how to add a single node i am not sure how to create list of them. …

Member Avatar for hardik.rajani
0
109
Member Avatar for Magda

Hello, I have been fighting with this assignment for almost 3 week now and it's almost ready besides one part that I simply don't understand. I would appreciate if someone could maybe translate it into "simple English" for me and maybe give me a little guidance. Basically we are writting …

Member Avatar for JamesCherrill
0
143
Member Avatar for MrDiaz

Hi everyone I've been trying to develop a mid-scale (size wise) application in the past few days. Something I'm doing for fun, to get some experience. My application is some sort of log system, it can have different users, each user has its own log entries (or records) and so …

Member Avatar for JamesCherrill
0
189
Member Avatar for bokz06

this is part of my app where i ask a user if they want to do something. they need to either input a "y" or a "n" for it to do something and if they input something else like a j, 1, 2 , ; , " any other character …

Member Avatar for bokz06
0
106
Member Avatar for suretd

Good Day, I am also a newby to the JAVA world of developing. I am SERIOUSLY struggling with a homework assignment ... I have a swing program that is using a JFrame and the task is to calculate the average grade. First, a JOptionPane needs to be used to get …

Member Avatar for suretd
0
112
Member Avatar for zyaday

I have two classes in here..One extends from a Jpanel , it is where I do all the paints and staffs on my screen. The other one is just a class. But in that class I want to define a draw function..say public void draw(Graphics g){ g.drawImage(image,100,100,30,30,?????); } Now, I …

Member Avatar for JamesCherrill
0
117
Member Avatar for Darkmeerkat

In the course of writing some throw-away code, I ran into a weird problem with static methods. I've defined a static method that's supposed to return a [icode]Double[/icode], but Java insists that it's returning some new type named after the function. Static method: [code=java] public class Temperature { // ... …

Member Avatar for JamesCherrill
0
140
Member Avatar for bokz06

problem i'm having is getSelectedRows() and getSelectedColumns().... they dont return anything when i select the rows. am i doing it wrong? i need it so when the button is pressed to output the selected strings[] [CODE]import java.awt.BorderLayout; import javax.swing.JFrame; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.*; import javax.swing.table.AbstractTableModel; import java.io.*; import …

Member Avatar for JamesCherrill
0
2K
Member Avatar for c3lolle

Hello! I've been given the task to write a program in java that is going to capture audio from a flash-application on the web. The flash-application is a music application where you can make your own song and then click a button to make it into a sound-file. The flash-application …

Member Avatar for c3lolle
0
137
Member Avatar for squinx22

Hello all! I have some troubles in saving a file by byte chunks, (will use in saving large file size.). My goal is to chunk the file bytes first into a certain size before writing. I have this code: [code=java] FileConnection fc = (FileConnection) Connector.open("file.ext", Connector.READ); InputStream fis = (InputStream) …

Member Avatar for JamesCherrill
0
86

The End.