611 Posted Topics

Member Avatar for Inshu
Member Avatar for NardCake

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 …

Member Avatar for JamesCherrill
0
229
Member Avatar for dragonshadow001

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?

Member Avatar for richieking
0
249
Member Avatar for vishu.bhavsar

use layout to restrict objects to place and area you want. As i can see, your JTable need a size set also.

Member Avatar for mKorbel
0
998
Member Avatar for sarafadeenl1

what is your level in c++? Do you need to store something permanent ? Do you have experience with database?

Member Avatar for sarafadeenl1
-1
202
Member Avatar for BigPaw
Member Avatar for taylor.mitchell.353

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 …

Member Avatar for JamesCherrill
0
156
Member Avatar for dgipling
Member Avatar for richieking
0
239
Member Avatar for mbh1992

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.

Member Avatar for richieking
0
137
Member Avatar for Mas49er
Member Avatar for richieking
0
238
Member Avatar for tuttu007

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 …

Member Avatar for richieking
0
425
Member Avatar for niths
Member Avatar for waluigi

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"; …

Member Avatar for sayantanbagchi
0
6K
Member Avatar for apanimesh061

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.

Member Avatar for ~s.o.s~
0
110
Member Avatar for raviaaaa

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 …

Member Avatar for JamesCherrill
0
362
Member Avatar for sirlink99
Member Avatar for cvanithakpm
Member Avatar for sanket1512
Member Avatar for sanidon
Member Avatar for richieking
0
202
Member Avatar for codemonster
Member Avatar for roshan_iiita

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 …

Member Avatar for richieking
0
157
Member Avatar for turt2live
Member Avatar for richieking
0
642
Member Avatar for TrickyT
Member Avatar for anand01
Member Avatar for aanders5

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.

Member Avatar for aanders5
0
189
Member Avatar for TIM_M_91
Member Avatar for hmartinez

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. :-)

Member Avatar for hmartinez
0
501
Member Avatar for bobanderson93

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 …

Member Avatar for richieking
0
134
Member Avatar for riahc3

reduce the setColor values to (0,0,619,419). Image may overlapse as the size are identical hence ot of bounds error. try that!

Member Avatar for riahc3
0
1K
Member Avatar for vinnyoodles

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 …

Member Avatar for cms271828
0
295

The End.