4,084 Posted Topics

Member Avatar for sanaulla123
Member Avatar for leo_zidane

[QUOTE=leo_zidane;715838] I try many times[/QUOTE] in that case, show what you tried, not just the assignment. and show what errors you got. honnestly, from your first post, I didn't even understood the point of the assignment, let alone what you've tried so far

Member Avatar for ~s.o.s~
0
121
Member Avatar for intelli

how far are you in your course, how many classes have you actually attended and what do you have a problem with, the basic logic behind the assignment or the coding? Peter sure's right on this: no teacher 'll give you an assignment using GregorianCalendar and Exceptions before they teach …

Member Avatar for intelli
0
159
Member Avatar for kasp4me

[QUOTE=kasp4me;715588]I believe the culprit is in red and can't figure out why?[/QUOTE] don't just assume this. since you say the error says it can not find a certain variable. from the title I would say its a variable called msge, but I can't find a variable by that name, declared …

Member Avatar for kasp4me
0
150
Member Avatar for BestJewSinceJC

[QUOTE=BestJewSinceJC;715756] I have been trying to do this using frame.dispose() and frame.setVisible(false), but these things do not seem to have the desired effect...[/QUOTE] nope, this sure won't do what you want it to do... all you say is (hide me) (show me) the thing you need to say is (change …

Member Avatar for sanaulla123
0
7K
Member Avatar for viber101

[QUOTE=viber101;715871]hello everyone, is there any tool class or utilities class in java class library that can run/view .class file?. for example if i click a jbutton i can view a .class file.. Please help. thanks.[/QUOTE] read your classnotes again, and check what a .class file actually is. it's just the …

Member Avatar for stultuske
0
150
Member Avatar for nekt

[QUOTE=nekt;715771] As, I tried an example and I could not figure out what it was doing [/QUOTE] poste your example, maybe that'll show us what you tried and what you didn't understood. this might shed some light on it as well: about [URL="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/MouseEvent.html"]MouseEvents[/URL]

Member Avatar for nekt
0
150
Member Avatar for cescbayo

even if you have no experience at all, at least you should have an idea what kind of errors there can be.

Member Avatar for stultuske
0
118
Member Avatar for meteoroidkim

I just took a quick peak, but it's not very readable, may I suggest you use code tags? I do have a couple of suggestions though: - don't use integers to check what button has been pushed, just add a different actionEvent to each button. - if you want to …

Member Avatar for stultuske
-1
118
Member Avatar for praful_engg

[QUOTE=javaAddict;714666] Do we have [I]praful_engg[/I]'s slaves written on our foreheads?[/QUOTE] not since they've been selling bars of soap I imagine

Member Avatar for stultuske
-1
137
Member Avatar for ezkonekgal

[QUOTE=ai0372;715623]what does it mean when you say' reading a java text file?' what does it mean when you say 'writing a java text file?'[/QUOTE] well, in this way, it would look like it means: writing a text file using a part of code written in Java reading a text file …

Member Avatar for stultuske
0
168
Member Avatar for ezkonekgal

[QUOTE=ai0372;715620] how do i get the quantity of the product in the list to change? [/QUOTE] by thinking of the basic principles of OO-programming and using getters and setters, or a method that takes a variable with the number of products that should be added to the present quantity, and …

Member Avatar for stultuske
0
114
Member Avatar for preetika

[QUOTE=squinx22;715437]<a href="http://www.AWSurveys.com/HomeMain.cfm?RefID=squidx22"><img src="http://www.AWSurveys.com/Pictures/AWS2_ad3_600by100.jpg" width="600" height="100"></a>[/QUOTE] to this post I can only respond with something that could be answered to quite some posts here ... what the hell??

Member Avatar for stultuske
0
87
Member Avatar for dhatfield

[QUOTE=dhatfield;715105]Can someone explain to me how to convert a number to a string. For example like this number 99812.50 to a string in words (Ninety nine thousand eight hundred twelve dollars and fifty cents,[/QUOTE] did you mean explain the logic or the Java coding?

Member Avatar for stultuske
0
70
Member Avatar for ezkonekgal
Member Avatar for stultuske
0
106
Member Avatar for rthcupid

[QUOTE=rthcupid;714706]Hi Thank you for sending this help .. I did'nt yet solved my real problem My problem is to create a frame and load some pictures from the local disk. I don't Know How to create our own picture array( jpeg,gif, etc) Can you help me to solve this problem? …

Member Avatar for Ezzaral
0
143
Member Avatar for Blackeagle

[Code=Java] if (returnedObject instanceof String) String a = (String)returnedObject; else Integer b = (Integer)returnedObject; [/Code]

Member Avatar for Ezzaral
0
135
Member Avatar for janamrob

[QUOTE=janamrob;713759]the classes are separate. Look at this, //Movie class //Cinema class //Family class // MovieRating class Shows you where each class starts. In my implementation they are all separate, I hope that's okay.[/QUOTE] now we see what classes there are, just not what code is in them... what JavaAddict ment, …

Member Avatar for javaAddict
0
4K
Member Avatar for nidhi.juneja

[QUOTE=nidhi.juneja;714555]sir pls can u suggest me the project n if u r saying for the compiler then give me more details of it.. thanks..[/QUOTE] we don't suggest the project, you suggested one, and you asked help with that. that's why Masjiade told you to [URL="http://www.google.be/search?q=JavaMail&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:nl:official&client=firefox-a"]Google[/URL] for JavaMail, which should help …

Member Avatar for stultuske
0
92
Member Avatar for aneeshanand

[QUOTE=aneeshanand;713834]Hi First of all let me tell you am not a student.. (ref: the thread from the cscgal) I started it with yFiles library for graph drawing and plotted the graph too. but still missing part is the XML data binding.[/QUOTE] whether or not you are a student has nothing …

Member Avatar for stultuske
0
167
Member Avatar for jee85

[QUOTE=masijade;713757]He is, seemingly, attempting to convert a C program code to Java (and not doing a very good job of it since he is simply attempting to translate line for line).[/QUOTE] if he tried that, he'd start at the top... and misserabely fails to translate #include to import ...

Member Avatar for stultuske
0
158
Member Avatar for askhan

[QUOTE=askhan;713082]my dear, issue is that the teacher is totally crap he dont know any thing and dont want to talk with me or not even with any student in the class i tried to ask and he shouted and said go and doit... u r in masters u shud know …

Member Avatar for masijade
0
341
Member Avatar for programmingme

[QUOTE=programmingme;713523] So we've never seen what's in a .class file what's suppose to be in a .class file or anything. .... This is making me think I have to write a class file?? But I've never done that so I'm not too sure...And if I do, what goes in the …

Member Avatar for stultuske
0
104
Member Avatar for johanna26

without a doubt you've been given some course material to study, and if not, [URL="http://www.google.com"]Google[/URL] can always find you some

Member Avatar for MoZo1
0
119
Member Avatar for rainny

I take it you are talking about a web app? looks to me like you want a .jsp page ( or similar) connected to some servlets. do you have any knowledge about those?

Member Avatar for peter_budo
0
111
Member Avatar for Tootlol

[QUOTE=Tootlol;711962]# If balance is private,[B][U] what is the upper bound on the number of lines of code [/U][/B]which must be examined to make the change to the Account class? \ What is the "upper bound on the number of lines of code" referring to?[/QUOTE] maybe it's just because it's still …

Member Avatar for brianlevine
0
96
Member Avatar for codered152

[QUOTE=codered152;712112]hi guys i like to open as many frames user wants to open, i mean they can keep clicking the button and i like new frame keep opening. so this is something i got, now i know i have to use int to keep track of how many frames are …

Member Avatar for brianlevine
0
96
Member Avatar for Dounia

[QUOTE=nasherizz13;712231]hi dounia... can you help me in my project??? im a newbie here.. my problem is also like this... i dont know what to do... we should pass it on this thursday....:( how should i start?? i have 2 only 2 days left...[/QUOTE] well ... maybe you didn't see this …

Member Avatar for stultuske
0
1K
Member Avatar for steven.doyle2

read your text in as a String Object, and pass that as arguments to the methods of your second class. Basic OO-stuff actually

Member Avatar for stultuske
0
154
Member Avatar for nasherizz13

[QUOTE=nasherizz13;709253]Guys!!! need some help!!! our teacher told us to make program... A crossing with traffic Lights and moving cars.... how will make this program...?????[/QUOTE] firstly, if you have questions about a certain topic: create a new post. secondly: go over your course material and take a look at the examples …

Member Avatar for nasherizz13
0
135
Member Avatar for NotThereAnymore

[QUOTE=DaMoogle;710476] [CODE="java"] /* Takes user grades until the user types Q. This loop takes any integer value. If the user types Q (or q), the loop stops. */ while(!input.equalsIgnoreCase("Q")) { grader.addGrade(gradeInput); JOptionPane.showInputDialog(informativeMessage); } [/CODE] [/QUOTE] if I'm not mistaken, which does occurs :) you have everything you need just in …

Member Avatar for NotThereAnymore
0
860
Member Avatar for arLe20

[QUOTE=arLe20;711464]okay...so here's the question...how is that part really works??[/QUOTE] I believe what Ezzaral ment was: post here what you think it does, and ask us about specific parts what you don't understand, not about the entire piece of code

Member Avatar for Ezzaral
0
137
Member Avatar for ttano173

as far as I know there are no JOptionPane dialogs with checkboxes, but you can always create your own input dialogs. it's the same principle as creating any other JFrame, you just give it an other size

Member Avatar for javaAddict
0
192
Member Avatar for mowhawk

[QUOTE=mowhawk;711012]... an easier method to obtain the user input. [/QUOTE] easier compared to what? and what do you have to test on? perhaps you do need all those if's

Member Avatar for stultuske
0
100
Member Avatar for IKnowNothin'

[QUOTE=IKnowNothin'] so if you can't think you shoudn't be posting at the first place [/QUOTE] If you COULD think, this thread wouldn't exist. part of choosing your own project is to show your professors whether or not you are capable to come up with an idea, preferably original, in which …

Member Avatar for IKnowNothin'
0
288
Member Avatar for gangsta1903

[QUOTE=gangsta1903;710776]a generalized list structure can be declared in C as follows: [code=C++] typedef struct element{ bool sign; union{ char data; element* link; }; element* link; } [/code] as you see in this approach an element can have either "data" or "element* link"(the last link is included in every element) and …

Member Avatar for gangsta1903
0
1K
Member Avatar for lastmoh1989

[QUOTE=lastmoh1989;710395] my level of knowledge is humble but i am developing my self . Thanks[/QUOTE] so, it would be wiser for other people NOT to use your code?

Member Avatar for stultuske
0
174
Member Avatar for defychaos

[QUOTE=defychaos;708973]Hi :) I'm doing a programming project with development of an algorithm for a quadratic recursive sequence: (3, 3, 7, 11, 19, 20, 32), but I can't figure out which expression to use. I know it's probably got something to do with the differences of n-1 and n-2 being added …

Member Avatar for stultuske
0
91
Member Avatar for nanna

[QUOTE=nanna;709227]Hi, this does not work ? it gives the following results : Please enter an integer or (Exit) to stop:4 *0 Please enter an integer or (Exit) to stop:2 *1 Please enter an integer or (Exit) to stop:5 *2 Please enter an integer or (Exit) to stop:[/QUOTE] it does exactly …

Member Avatar for javaAddict
0
162
Member Avatar for samurai83

by actually using the rowspan functionality? just a word of advise: [Code] <%}%> <%}%> <%}%> [/Code] is exactly the same as: [Code] <% } } } %> [/Code] the first version just won't be as easy to read

Member Avatar for stultuske
0
89
Member Avatar for kamaoako

and what exactly doesn't work? to find the number of occurances using indexOf [Code="Java"] String original = "originalString"; String oneChar = "i"; int a = original.indexOf(oneChar); /* * this will return an integer. if (for any value) this integer = -1, it means that the * character you're testing for …

Member Avatar for stultuske
0
86
Member Avatar for Guskayak

why do I get the feeling you want more than just the button to be copied to your site? :) just google for a script that does what you want and put it on your site

Member Avatar for Guskayak
0
107
Member Avatar for vitnani

[QUOTE=vitnani;707131]iam doing a project based on grid computing......i need an application to communicate between the systems.....plzz do help me in that.....its in Java[/QUOTE] it's not in Java, you've just got a blank file. well, you need that application? I need ten zillion euro's transfered to my account. as soon as …

Member Avatar for peter_budo
-1
100
Member Avatar for LiquidCobra

[QUOTE=LiquidCobra;705925]I think this is now a good time to close my thread as I won't be needing any help from this forum.[/QUOTE] so? what's stopping you? mark it solved if it is

Member Avatar for stultuske
0
144
Member Avatar for vskumar19

[QUOTE=vskumar19;704042]i wrote program correctly .. [/QUOTE] if you would have written it correctly, it would've been playing right now, wouldn't it? [QUOTE=vskumar19;704042] Anyone give solution plzzz!!![/QUOTE] No. not even for a thankzzzzzzzz!!! if we just give you code, you won't learn anything from your mistakes

Member Avatar for stultuske
0
86
Member Avatar for gur

[QUOTE=gur;704805]can anyone tell a program to calculate d number of objects in a program?[/QUOTE] tell a program ... no, not really write it, yes, that isn't really a problem. but then again, since I don't need one, I suggest you try and start coding for yourself. you don't even provide …

Member Avatar for stultuske
0
92
Member Avatar for silentone190

if you are trying to get (for instance) the total of amount for the customers, just insert your customers in an array and loop over that array getting the amount you want for instance: [code=Java] double total = 0; for( int i = 0; i < customers.length(); i++ ) total …

Member Avatar for silentone190
0
175
Member Avatar for teh noobshow

[QUOTE=teh noobshow;702339]Hello, I currently code in java for a game. But it's a private server... Many people question my way of coding, but i dont. My way of coding is more simpler than the public boolean and public void... As most know for some games you need a class file …

Member Avatar for javaAddict
-1
100
Member Avatar for rakesh.mk

[QUOTE=rakesh.mk;693989]Hi I am trying get user info from the database into the textbox when i select Usename Which is stored in the drop down. so could any help how to get all usernames into dropdown and when i select any usenames i should get all details into the text box.........please …

Member Avatar for peter_budo
0
157
Member Avatar for letlet_pogs

[URL="http://www.google.com"]Here[/URL] you'll find a lot of info than we non-simpletron users/developers can provide you with.

Member Avatar for stultuske
0
70

The End.