611 Posted Topics
Re: pretty useless until you give more codes to support that. sorry .. | |
Re: Which GUI are you working with? if its default swing, then you need JFileChooser to do that. Also you will need to know about actions that activates the right clicking. Put something there and we will assist you. We dont give codes here. We are not free code factory. We … | |
Re: Also you are using the standard laout manager with Swing. How do you want to see the app layout, can you draw or show us a pic or something how you want to see your layout so that we can assist you? | |
Re: use layout to restrict objects to place and area you want. As i can see, your JTable need a size set also. | |
Re: what is your level in c++? Do you need to store something permanent ? Do you have experience with database? | |
Re: you must readline then split the line by spaces, count splited data, then know how many data splitted, then insert into the corresponding variables. with this you will always know the amount of data needed to insert. Also why use substring if you can not determing the data. Use regular … | |
Re: And always main() must be int method not void as it returns a value. | |
Re: you need o produce more code than this as we cant help you without the entire code that makes sense. post full lenght of code. | |
Re: This is very simple to achieve however, you need to show some effort ok? | |
Re: I think he did not write this script himself because he coild have spoted that the error was due to zero info in the String array that he is trying to index. To make things simple for you,hard code your ip address and add a readin to your script to … | |
Re: Only flash or cgi script can help you my friend ;) | |
Re: change the 31-33line to this [code] // redirect to success page if($success){ // try this @header("location:success_page.php?name=$username");// Direct to a new page //echo "We've recived your contact information"; } [/code] then have a success.php to recieve the get variable . [code] $foo=$_GET['name']; echo "Thank you $foo<br/"; echo "You win the price"; … | |
Re: Also is the data supposed to be used often and saved for future checkups...? if the above is false, then keeping in array is the best idea cos it is only for a short period of time. | |
Re: There are 2 things that comes to mind.. 1. Did you code this yourself 2. If so , then why didnt you use a supported object like ListIterator of ArrayList which will be easy to manipulate? Also with the int and interger examples... line 40 and 85 is nt necessary … | |
Re: And so what is the current proble then :=) | |
Re: Have you guys forgotten about something?? The code tags!!??? | |
Re: You need to know how to use time. Every GUI got time that run. You need to bind the movement and speach with the time. Very simple. You must also know the length of the audio you want to use. You show give the same time for both animation and … | |
Re: Sometimes its more easier to do a prototype as NormR1 said. Nice you got it fix | |
Re: TrickyT show what you have done so far ok..? | |
Re: Well said James. Everything in java is object and though you may not see inside, but they are connected one way or another. JFrames,JButtoms etc.. all externds from the JComponent . from htc phone. | |
Re: please close the thread. | |
Re: Most of the IDE's may tell you the line where you got these errors. Also as stated by the errors, fixing it is just a simple thing. At least for now you know what the problem is. That is the begining of the solution. :-) | |
Re: try this. [CODE]#include <iostream> using namespace std; #define STACKSIZE 10 class stack { private: int arr[STACKSIZE+1]; int tos; public: stack(); void push(int x); int pop(); bool is_empty(); bool is_full(); int size(); void display(); }; stack::stack() { tos = 0; } void stack::push(int x) { if(!is_full()) arr[tos++] = x; else cout … | |
Re: reduce the setColor values to (0,0,619,419). Image may overlapse as the size are identical hence ot of bounds error. try that! | |
Re: For the body to follow.... you need a 2 dimentional array that consists of the points to use as a route. The array consists of cordinations x and y; your computer screen consists of the same dots(cordination) called pixels. That means the food for the snake must register on one … |
The End.