LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-28-2010, 10:15 PM   #1
teresevo1
LQ Newbie
 
Registered: Apr 2010
Posts: 11

Rep: Reputation: 0
completing java procedure


Can anyone help me to complete the java procedure below?

/** Obtain an output file name from the user and print on it
all the strings in array b, each on its own line.
If the user cancels the dialog to find the file name,
print a message and return. */

public static void writeFile(String[] b) {



}
 
Old 04-29-2010, 12:11 AM   #2
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
yes but if you are going to learn anything you should make more of an effort...
 
Old 04-29-2010, 12:12 AM   #3
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Q: Is the a homework assignment, or an "exam cram" practice question?

Q: How much of the code have you written so far? Can you post it?

PS:
If you're totally stumped, you might want to Google for "Java swing tutorial" or "JoptionPane" - that might at least get you started on the "user input" part...

Last edited by paulsm4; 04-29-2010 at 12:19 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu not completing boot up kevdoc Linux - Newbie 1 09-28-2008 07:22 AM
automysqlbackup2.5 - backups not completing neocontrol Linux - Server 1 03-01-2008 04:53 AM
job prospects after completing RHCE satzonline Linux - Certification 3 05-31-2007 11:04 AM
Need help completing Makefile seriesx4 Programming 4 01-09-2006 09:46 AM
Help completing file association bmcneely0 Linux - Newbie 0 08-21-2003 07:28 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration