35,618 Topics

Member Avatar for
Member Avatar for jonny_java

Hi All, I hope someone can offer some help / advice. I need to plot a fairly simple line chart/graph, using some data generated previously from another Java program (run from the console) that is output to a text file. I'm really struggling trying to produce a viewable line chart/graph …

Member Avatar for jonny_java
0
258
Member Avatar for Nathan Campos

Hello, I'm learning Java ME and i was building an application that is a simple contact book, but in the main form it only have menus, because i don't know how i can list the registry's on it, remember that i want to list only the names in the list …

Member Avatar for peter_budo
0
169
Member Avatar for Nathan Campos

Hello, I'm learning Java ME and when i complete the development of an application that uses RecordStore, it's simple a contact book, but when i completed the code i see that my program have an error and i use Eclipse, then it marks wrong codes in the left of the …

Member Avatar for Nathan Campos
0
106
Member Avatar for jakx12

The title says it all. Is it possible if so how would you code the kernel etc. Also is there an open-source project or something with the kernel etc already written? Again many thanks, jakx12.

Member Avatar for jakx12
0
84
Member Avatar for bervin

If choice is [COLOR="Red"]1[/COLOR], user will be prompted to enter the month and then the person and salary earned. Total number of person entered should not exceed 8. An empty entry on the "Enter person" prompt should allow user to break out of the loop. //i have been stuck on …

Member Avatar for TheWhite
0
97
Member Avatar for anglok

Hello, Is there a way to center or offset a canvas component inside of a Java Frame (AWT)? I've tried a number of strategies based around frame.add(canvas), and whether I'm using a full screen frame of not, it's always aligning at the top left of the frame. Thanks for any …

0
54
Member Avatar for TheWhite

I'm writing a WebChat application using the socket functions in java. I'm able to listen for incoming sockets on the server side and connect from the client side just fine, but I'm having a problem communicating from the client to the server to ALL the clients. Right now, I have …

Member Avatar for TheWhite
0
197
Member Avatar for gaya123

I have 2 submit buttons in a jsp page. in the form action, i forward the request to a servlet. N in the servlet, i need to write logic for the respective button clicked in the previous jsp and redirect to a new jsp... Kindly help me with this... I …

Member Avatar for gaya123
0
219
Member Avatar for moonis.ahmed

Hi, Let's say i have Main.jsp and return.jsp. i call the return.jsp from main.jsp and want the return page to return a string which I need to store in a variable in Main.jsp. How can I achieve this? Cheers!

Member Avatar for javaAddict
0
115
Member Avatar for malikfirose

i am a Bsc software engineering undergraduate , can any one tell me a project which is related to java service oriented architecture ? ,i am searching for a final year project. and i thought of doing it on java SOA if any one can suggest me a project topic …

0
63
Member Avatar for llemes4011

Hello. I have an undecorated JFrame (Which is rather boring by itself), and I would like to know how to get a drop shadow effect for it. I have researched it, but I haven't found anything, anyone have any ideas? Thanks in advance!!!

Member Avatar for JamesCherrill
0
277
Member Avatar for titosd

Hello, I have a question, in my program I want to read a text field then to convert it to Color, How Can I do this ? I try this, but I didn't know if this is right : [code]String colorString = getCarTextButtons()[3].getText(); Color color = Color.getColor(colorString);[/code]

Member Avatar for JamesCherrill
0
3K
Member Avatar for Maymoon

hi everybody, I'm having a problem on what to do next in my project. below is what i need to do. if any body let me know if i'm doing it right and if i need more classes. help on boolean, clone and finalize method. Thank you... A library needs …

Member Avatar for sneaker
0
247
Member Avatar for kvass

Hi everyone! This code runs without throwing exceptions and stuff, but it doesn't exactly run when I click the "Submit" button -- what is supposed to happen is that I click it and it generates a random number. What happens is either nothing or if I get lucky and click …

Member Avatar for kvass
1
136
Member Avatar for Nathan Campos

Hello, I'm learning Servlets technology, but i'm already a Java developer and i want to know how i can develop a servlet that have two pages, the first is a page that have a button and two text fields, one field of title and the other a memo field, but …

Member Avatar for kvprajapati
0
74
Member Avatar for helplessSoul

I know there's loads of these threads already and the norm is to [URL="http://www.google.co.uk/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-GB%3Aofficial&q=null+exception+error+java+method&btnG=Search&meta="]Google it[/URL], but I can't seem to find the solution. Anyway I keep getting this darned error and need to know how to fix it ASAP, since the Servlet project is due in this Wednesday. Code is …

Member Avatar for helplessSoul
1
133
Member Avatar for Iamkishan

Hi, I'm using eclipse to write my programs but for some reason this code does not work can someone tell me whats wrong with it? here is the code. and sorry if i didnt use the code wrapper properly. package dataTypes; import javax.swing.*; public class Window { JPanel pnl = …

Member Avatar for Nathan Campos
0
93
Member Avatar for Acegikmo

I have a Player class, a Weapon class and a Projectile class in my applet game. The weapon class uses Projectile objects when fired. For example, everytime I click I want this code to execute: [CODE]projectileList.add( player.weapon.fire() );[/CODE] player.weapon.fire() returns one or more projectiles that the projectileList handles every frame. …

Member Avatar for Acegikmo
0
166
Member Avatar for mahdi68

Hi , i want to learn programming for android , so i download android sdk 1.5 and netbeans plugin . i have a problem when i run program that i Have written emulator not shown !!! and this message shown : select device please help me , what i should …

Member Avatar for mahdi68
0
74
Member Avatar for Lensva

I have a class Banner that extends JFrame implements ActionListener and is responsible for thread handling via actionPerfmored. "launch banner", "pause banner" works. "resume banner" seems to be dead alltogether [code=java] import java.awt.*; import javax.swing.*; public class BannerP extends JPanel implements Runnable { int width, height, xPos=10; boolean stopT; public …

Member Avatar for JamesCherrill
0
133
Member Avatar for itslucky

Dear Friends...!!! I have written a jsp file, its working very fine in my PC, BUT now i would like to upload my jsp files to somewhere on the internet so i can access my jsp files over internet... Please Tell me 1. where should i upload the files? 2. …

Member Avatar for peter_budo
0
69
Member Avatar for Nathan Campos

Hello, I'm starting in Java ME development, but i'm already a Java for desktop developer, but how i can build Jar files for my Java ME applications using my Eclipse or command-line, i want to build it only. Thanks, Nathan Paulino Campos

Member Avatar for Nathan Campos
0
72
Member Avatar for Nathan Campos

Hello, I'm learning Java and i want to build a program that save emails to an [i]*.txt[/i] file, like this: One guy send me an email, then the program periodically search if i have emails every 10 minutes and if i have it saves all the emails in a single …

Member Avatar for Nathan Campos
0
112
Member Avatar for GregStoltz

Hey everybody :) I am writing a program in NetBeans to write an invoice... the user has to click a few buttons to add the values and then clicks the "add to order" button and the information is stored in a jTable (this is all working) when the user clicks …

Member Avatar for GregStoltz
0
79
Member Avatar for llemes4011

What I have is this: [CODE=Java] public abstract class Ability { public class Action extends Ability{} public class Reaction extends Ability{} public class Support extends Ability{} } [/CODE] I have it like that so I don't have all of the Ability-extended classes in their own .java file (to save room …

Member Avatar for llemes4011
0
115
Member Avatar for iamwa

i have some basic knowledge of oop in java like polunophisum , inheritance etc but i do not about techniques like coupling and cohesion plz help me

Member Avatar for JamesCherrill
0
26
Member Avatar for emint

hi all i got problem on JProgress bar. when i click on button progress doesn't show. it display after completing the progress [code] class A{ //button clic ProgressBar frame = new ProgressBar(); frame.pack(); frame.setVisible(true); frame.iterate( ); class ProgressBar extends JFrame //inner class of A { JLabel l1; JProgressBar current; Thread …

Member Avatar for JamesCherrill
0
113
Member Avatar for alsoumhi

Hi experts, I got problem in servlet. I have a web page that has two buttons (submit button and update button) , both buttons call the servlet. my question is how I let my servlet program distinguish the two buttons when one of the two buttons is pressed. the servlet …

Member Avatar for alsoumhi
0
233
Member Avatar for beatonl

Hi, I am new to the java world. I am getting the following error. ClassB.java:62: incompatible types found : int required: order.ClassB return Integer.parseInt(conString); This what I am trying to do.. I have two classes. Class A and Class B. Class A calls a method located in Class B (refer …

Member Avatar for beatonl
0
183
Member Avatar for alsoumhi

Hi experts, I am having a problem with sending mail from servlet I have written this code : [code=Java] import javax.mail.Session; import javax.mail.Message; import javax.mail.Transport; import javax.mail.MessagingException; import javax.mail.internet.MimeMessage; import javax.mail.internet.InternetAddress; import java.util.Properties; public class EmailSenderDemo { public static void main(String[] args) { String from = "ali@mlabs.com"; String to = …

Member Avatar for kvprajapati
0
127

The End.