English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Programming & Design - September 2007

[Selected]: All categories Computers & Internet Programming & Design

1)
I have private methods of a class and I need to use variables created by these private methods in other private methods of the same class. Now, should I declare the variable outside of the method at the beginning of the class and be done? Or do I need a public, static in front of it?

2)
I keep getting an error with a stringtokenizer
Exception in thread "main" java.util.NoSuchElementException
and java.util.StringTokenizer.nextToken(Unknown Source)

my code at the line is as follows....
headerArray.add( Integer.parseInt( header.nextToken()) )

header is a stringtokenizer, headerArray is an arraylist of ints.
Only thing i can think of is its not finding the input file which it is in the correct directory

2007-09-27 04:26:36 · 2 answers · asked by jay d 1

But I don't know any websites to create one (you know, u sign-up and start to costumize ur forum website)

Can u tell me some these kind of websites which are free?

2007-09-27 04:11:54 · 5 answers · asked by Irmak 7

I designed a website and used a FTP to upload it. What file do I put in to make it viewable? What format do I use with pitures? Can someone help me with this?

2007-09-27 02:40:34 · 4 answers · asked by Staci B 2

I am looking to add a player plugin to simply play 1 track looped on a client website as background music. The most important features i need are the ability to change the look and feel of the player to match the website and that the track does not restart when visitors click links to different pages in the website. Does anyone have any players or advice they can recommend ?

2007-09-27 01:30:41 · 2 answers · asked by Lukas D 3

Im new to frontpage,and publishing takes forever from frontpage so I copied the webpages and just stuck it in a folder that is on the sever,it works. So why did my boss want me to publish it instead of sticking it in there. Please help

2007-09-27 01:29:27 · 3 answers · asked by Zeta 2

I am creating Certificates for school, when i put a grade down and i drop a line and do it again in the same position it doesnt set it in the same position as the line above, for instance:

C(c)
- C(c) --- It will not sit equally as the grade above, even when i backspace

Group work B
- Group Work A

2007-09-27 01:01:51 · 3 answers · asked by Anonymous

2007-09-26 22:12:35 · 3 answers · asked by vino 1

2007-09-26 21:54:00 · 4 answers · asked by Anonymous

My program has a main window and a popup. When I put onclick or onsubmit events in my program to call a function in the main window, it calls using the window.opener method. Once inside the main window function, I would like to write to the popup.But the function does not work...eg. dispwin.document.write("Hi") doesn't work. instead im able to use something like alert("Hi") in the function. this doesn't help.

2007-09-26 21:25:05 · 2 answers · asked by Mink L 1

2007-09-26 20:57:43 · 2 answers · asked by reasonabledonsaj 1

Ok I want to get into web development. But I am totally confused which way I should i go php or asp.net.

PHP sounds easy because you use mysql and apache and that seems like full package.

Asp.net on other hand sounds confusing because you have to learn another .net langugage( i thought asp.net was a language) such c or visual basic and off course any database.

Can somebody please give me advice ..Thanks in advance

2007-09-26 19:01:15 · 3 answers · asked by desi 1

I have a personal website.Sometimes I worry that people out there steal my stories or my pics ( I got some beautiful nature pics from my beloved village ).

Does anybody know how can I have a copyright and nobody can copy paste my pics ???

Thanks in advance.

2007-09-26 17:53:26 · 7 answers · asked by Mine 2

i cant really download any programs but im trying to spot a online photo editor where i can upload a picture and be able to make it look like this http://img.photobucket.com/albums/v249/quacka/021843f79a9.gif thanks for your help in advance ^_^

2007-09-26 17:10:37 · 2 answers · asked by Anonymous

i have 2 programs that are some how automatically reloading themselves after i reboot. I went to msconfig and selected selective startup then went to startup tab and unchecked some programs that i didn't want to load during start-up. Well somehow they are being checked again and i can't seem to get them to stay unchecked and they keep loading when i don't want them to is there a way to fix this so they won't load on startup. through the registry perhaps?

2007-09-26 17:06:18 · 7 answers · asked by jsn792001 2

--------------------------------------------------------------------------------

Hi
can one of you javascript experts please help me

I am new to Javascript and have written this script but it is full of errors.
Can someone pleas point them out to me. It would be greatly appreciated
Thank you.
Now here is my script:

Code:








Press F1 or click the Refresh (or Reload) button to run this script again


Thank you so so much for any help you can give. thank you

2007-09-26 15:35:50 · 5 answers · asked by heather 1

I am a student(Comp Science) Programming Java and I am looking for someone to teach me.I will pay if necessary.I leave in Indiana-Schererville.Is there someone who is willing to help me?Reply ASAP

2007-09-26 15:27:02 · 5 answers · asked by bubu_bus2003 1

I want to make video games on my computer...but i dont wanna pay $600 dollers.

*i have a mac
*dont wanna pay like alot lol
*i want to make stuff like on newgrounds.

Thanks for the help ^_^

2007-09-26 14:47:05 · 2 answers · asked by taylor d 1

2007-09-26 14:33:28 · 1 answers · asked by hedges94303 1

I have a forum I recently made, but I dont know much about phpbb. I want to install a chat box, but I really dont know anything about phpbb. heres my site if you want to look at it, sign up if u wanna too. http://whatheduece.freeforums4u.com

2007-09-26 13:01:05 · 4 answers · asked by Bob 5

I have just built a program to allow my works to input income and outgoings data and produce graphs, reports etc. The input screen requires very little information, as macros & functions etc complete nearly everything. There are a few cells where input is required: how do I make it so the only cells that can be accessed are the cells that require input? Say using the TAB key will cycle between the input cells only. This problem has bugged me for years. I've used Excel5.

2007-09-26 12:13:52 · 3 answers · asked by Anonymous

I'm really good with computers and want to become a computer programmer, but I'm still a little confused on what they do exactly?

2007-09-26 09:07:45 · 9 answers · asked by Anonymous

I want sonmebody send the feedback message to my yahoo mail box,
how to define the form action?
for example


ot something else?

2007-09-26 09:00:38 · 2 answers · asked by Anonymous

2007-09-26 07:24:14 · 3 answers · asked by AMBER 2

hi everyone im a 4th yr college students taking up computer science nd creating a database is one of our project this sem. can anyone help me do the database for cable television system. I choose the language Microsoft Visual Studio . Net. I am not familiar with this language for our professor said that we have to use a new language so thats it..Any help will do thanks

2007-09-26 03:10:57 · 2 answers · asked by cherry 1

2007-09-26 02:40:09 · 5 answers · asked by Phillip M 1

Having some difficulties coming up with doing the following:
1. If number inputed is even, the next number wld be half of it. the output wld show the numbers until it reaches 1.

2. need to add something at the end to count the number of times it was halved.

so far i think i got the following


public static void main(String args[])
{
do
{
int x = inputInt("enter a number");
} while (x < 1);

for (int i = 2; i ? ??; i++)

if (x % 2 == 0)
x = x/ 2;
output(x);

im thinking that a for loop has to be used in order for the numbers to halve although im not certain of what i has to be.

some help wld be appreciated thx.

2007-09-26 02:39:31 · 5 answers · asked by Shadow K 1

fedest.com, questions and answers