Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 04-23-2003, 05:00 PM   #1 (permalink)
sno2dude
Registered User
 
sno2dude's Avatar
 
Join Date: Apr 2003
Location: Michigan Tech
Posts: 38
sno2dude is on a distinguished road
Send a message via AIM to sno2dude Send a message via Yahoo to sno2dude
more java help needed

Is there a way to disable JFrame resizing? also... how do you bring up the file browser when you want to save a file? alllsssoooo....... is there any way to bring up a box to prompt for some input without having to write a whole new class with a JFrame?
sno2dude is offline   Reply With Quote
Old 04-23-2003, 05:29 PM   #2 (permalink)
abc123
bloomberg
 
abc123's Avatar
 
Join Date: Jun 2002
Location: bloomberg
Posts: 263
abc123 is on a distinguished road
Send a message via AIM to abc123 Send a message via Yahoo to abc123
Quote:
Is there a way to disable JFrame resizing?
yes.

Quote:
alllsssoooo....... is there any way to bring up a box to prompt for some input without having to write a whole new class with a JFrame?
there sure is!
__________________
-- bloomberg.
abc123 is offline   Reply With Quote
Old 04-23-2003, 05:54 PM   #3 (permalink)
sno2dude
Registered User
 
sno2dude's Avatar
 
Join Date: Apr 2003
Location: Michigan Tech
Posts: 38
sno2dude is on a distinguished road
Send a message via AIM to sno2dude Send a message via Yahoo to sno2dude
oh great, and you arent going to help me cuz i told you you were wrong, when you were
sno2dude is offline   Reply With Quote
Old 04-23-2003, 05:59 PM   #4 (permalink)
abc123
bloomberg
 
abc123's Avatar
 
Join Date: Jun 2002
Location: bloomberg
Posts: 263
abc123 is on a distinguished road
Send a message via AIM to abc123 Send a message via Yahoo to abc123
well to do the second one just look @ JOptionPane on the api

http://java.sun.com/j2se/1.4.1/docs/api/


the first one, i forget how to do it, so i really can't answer that but i imagine its some sort of event (onResize, etc )
__________________
-- bloomberg.
abc123 is offline   Reply With Quote
Old 04-23-2003, 06:22 PM   #5 (permalink)
sno2dude
Registered User
 
sno2dude's Avatar
 
Join Date: Apr 2003
Location: Michigan Tech
Posts: 38
sno2dude is on a distinguished road
Send a message via AIM to sno2dude Send a message via Yahoo to sno2dude
oookay...... i dont see the command to open a file browser type window to save in JOptionPane.... i used it for some other things in my program, but i didnt see a way to do that
sno2dude is offline   Reply With Quote
Old 04-23-2003, 07:51 PM   #6 (permalink)
abc123
bloomberg
 
abc123's Avatar
 
Join Date: Jun 2002
Location: bloomberg
Posts: 263
abc123 is on a distinguished road
Send a message via AIM to abc123 Send a message via Yahoo to abc123
well then ur an idiot

learn to use the API.
__________________
-- bloomberg.
abc123 is offline   Reply With Quote
Old 04-23-2003, 08:09 PM   #7 (permalink)
sno2dude
Registered User
 
sno2dude's Avatar
 
Join Date: Apr 2003
Location: Michigan Tech
Posts: 38
sno2dude is on a distinguished road
Send a message via AIM to sno2dude Send a message via Yahoo to sno2dude
i know how to use the API.... i use that to prompt for other input HOWEVER there is no mention of a way to open the file thing where you can select a directory and file to save as in that object
sno2dude is offline   Reply With Quote
Old 04-25-2003, 05:55 AM   #8 (permalink)
sno2dude
Registered User
 
sno2dude's Avatar
 
Join Date: Apr 2003
Location: Michigan Tech
Posts: 38
sno2dude is on a distinguished road
Send a message via AIM to sno2dude Send a message via Yahoo to sno2dude
I hate to beat a dead horse here.... but you sir, are STUPID! you dont use JOptionPane to select a file you use a JFileChooser.... any OTHER misinformation you would like to pump out there numbnuts?

--dont act like a code god if what you say is wrong.
sno2dude is offline   Reply With Quote
Old 04-25-2003, 12:13 PM   #9 (permalink)
revolution
Legend in my own mind
 
revolution's Avatar
 
Join Date: May 2002
Location: florida
Posts: 618
revolution is on a distinguished road
Send a message via AIM to revolution
lets keep this civilized. If not, i will lock the thread
__________________
Is it me or does the word abbreviation seem a little long?


registered user #193524 with the Linux Counter,
http://counter.li.org
revolution is offline   Reply With Quote
Old 04-25-2003, 03:21 PM   #10 (permalink)
sno2dude
Registered User
 
sno2dude's Avatar
 
Join Date: Apr 2003
Location: Michigan Tech
Posts: 38
sno2dude is on a distinguished road
Send a message via AIM to sno2dude Send a message via Yahoo to sno2dude
Sorry, but i just get really annoyed at people who treat you like **** when you point out that they are wrong..... like abc123 did
sno2dude is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Developer Position in Kansas City justplaindoug Java 0 10-29-2004 11:52 AM
Java refreshers needed, apply within creed Java 6 09-24-2004 08:46 AM
IBM urges Sun to make Java open source redhead Code Newbie News 0 03-01-2004 10:39 PM


All times are GMT -8. The time now is 02:22 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting