4,084 Posted Topics
Re: it might be more helpfull to post your code here instead of just that error message | |
Re: [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 | |
Re: 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 … | |
Re: [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 … | |
Re: [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 … | |
Re: [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 … | |
Re: [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] | |
Re: even if you have no experience at all, at least you should have an idea what kind of errors there can be. | |
Re: 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 … | |
Re: [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 | |
Re: [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 … | |
Re: [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 … | |
Re: [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?? | |
Re: [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? | |
Re: and to read, you might take a look at the BufferedReader and FileReader api's | |
Re: [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? … | |
Re: [Code=Java] if (returnedObject instanceof String) String a = (String)returnedObject; else Integer b = (Integer)returnedObject; [/Code] | |
Re: [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, … | |
Re: [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 … | |
Re: [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 … | |
Re: [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 ... | |
Re: [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 … | |
Re: [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 … | |
Re: 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 | |
Re: 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? | |
Re: [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 … | |
Re: [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 … | |
Re: [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 … | |
Re: read your text in as a String Object, and pass that as arguments to the methods of your second class. Basic OO-stuff actually | |
Re: [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 … | |
Re: [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 … | |
Re: [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 | |
Re: 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 | |
Re: [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 | |
Re: [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 … | |
Re: [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 … | |
Re: [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? | |
Re: [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 … | |
Re: [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 … | |
Re: 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 | |
Re: 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 … | |
Re: 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 | |
Re: [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 … | |
Re: [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 | |
Re: [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 | |
Re: [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 … | |
Re: 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 … | |
Re: [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 … | |
Re: [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 … | |
Re: [URL="http://www.google.com"]Here[/URL] you'll find a lot of info than we non-simpletron users/developers can provide you with. |
The End.