What's with the all of the JOptionPanes?

What is it with people and JOption panes?
I posted this in the "New to Java" since it seems to mostly be newbies that have this strange desire to pop up JOptionPane all over the place.
I get it when there is some large GUI of which some JOptionPanes are a part, but it seems to be that mostly I see them being used as replacements for writing to System.out and reading from System.in.
Are people really being taught JOptionPanes as a reasonable user interface model?
Am I just getting to be too old and cranky to see the obvious benefits of this?

BigDaddyLoveHandles wrote:
johndjr wrote:
Am I just getting to be too old and cranky to see the obvious benefits of this?You're cranky. Can't comment on old.
Yeah, the JOptionPanes are silly. Too many intro exercises end up being mainly about I/O, choosing an action from a menu, asking if they want to do whatever again ... and three lines of code that are related to the point of the exercise. By the way, I am old.You didn't have to agree on the crankiness did you? <g>
When I was in school*, there was the ascii codes, curses or some less general precursor to it was as far a "graphic" interfaces got so the command line just seems to me to be the obvious default way of doing things. I guess if I were starting now I'd probably be throwing up JOption panes all over the place as well.
*Just after the the time when computers were made of wood.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • With Netscape all of the Webcam shots from live feeds were automatically saved in my cache folder and I could simply open my cache send the saved files into AcDsee and convert them into jpgs, It would save as many as I would allow space for. With firefox

    I cant retrieve my images from webcams that are cached any more with mozilla. With netscape all of the live webcam images from live cams were automatically saved in my cache folder and all i had to do was open it send the files to acdsee and turn them into jpgs. It would save them untill the Cache ran out of room no matter how many files or sites I had running. Mozilla seems to save what it wants when it wants and often dose not save any that I can retrieve because I believe it is bulking them into Cache 123 or 4 and those i cant open to retrieve the files. Sometimes it saves 100 or so and sometimes 2 or 3 sometimes 10 or more but i don't seem to have any control over what it does or does not save to retrieve no matter how much space i allow for the cache to save.
    == This happened ==
    Every time Firefox opened
    == I finally gave up trying to keep netscape due to all the ridiculess popups and continued reminders from you saying i had to switch over

    You have or had an extension installed (Ant.com Toolbar) that has changed the user agent from Firefox/3.6.3 to Firefox/3.0.12.
    You can see the Firefox version at the top and the user agent at bottom of the "Help > About" window (Mac: Firefox > About Mozilla Firefox).
    You can check the '''general.useragent''' prefs on the '''about:config''' page.
    You can open the ''about:config'' page via the location bar, just like you open a website.
    Filter: '''general.useragent'''
    If ''general.useragent'' prefs are bold (user set) then you can right-click that pref and choose ''Reset''.
    See [[Web sites or add-ons incorrectly report incompatible browser]] and [[Finding your Firefox version]]
    See also http://kb.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default

  • HT204411 So, I am ****** at Itunes. Taking Kinks albums of Itunes (Something Else) and the all of the Pete Townshend catalogue. Solo stuff. What gives? You are catering to the JT andBS crowd. I expected more form you, I tunes. There are some great reissue

    So, I am ****** at Itunes. Taking Kinks albums of Itunes (Something Else) and the all of the Pete Townshend catalogue. Solo stuff. What gives? You are catering to the JT andBS crowd. I expected more form you, I tunes. There are some great reissues from Pete Townshend. What gives?

    victrip wrote:
    Thanks for letting me know. I noticed that the UK store had all of Pete Townshend's catalogue. I take it that the agreements are based on countries and licensing.
    You take it correctly. The rights are country-by-country, so the holder in one country may grant rights to sell the content while the holder in another country denies them. This is actually quite common and can be due to all sorts of things, most often that the rights holder in a given country signs some sort of exclusive deal with a single store.
    Again, this is not something Apple has any control over. They would much prefer to be able to offer all content in all countries, but that's not up to them.
    Regards.

  • What happened with my photoshop? the layers name disappear and every drop-down function getting smaller?

    What happened with my photoshop? the layers name disappear and every drop-down function getting smaller?

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Outlook stopped syncing with iCloud - All of the sudden (6/12) outlook stopped syncing saying my username/password failed to authenticate. I didn't change anything. Can login to iCloud via safari

    outlook stopped syncing with iCloud - All of the sudden (6/12) outlook stopped syncing saying my username/password failed to authenticate. I didn't change anything. Can login to iCloud via safari

    outlook stopped syncing with iCloud - All of the sudden (6/12) outlook stopped syncing saying my username/password failed to authenticate. I didn't change anything. Can login to iCloud via safari

  • Export to WORD - what's with these boxes around the text?

    Post Author: Emily
    CA Forum: Exporting
    I am new to CR.  I am using version 10.0.0.533  We use CR with ClearQuest for problem reporting and other data collection.
    Rational (ClearQuest Vendor) tells me it's a CR X problem.
    I use a CR report exported to MS WORD as a template for taking meeting minutes.  With our old CR version, the ClearQuest export was great and I was able to add text into the report.  With CR X, the report in MS WORD comes out in text boxes and editting this output is not pretty.   I do not want the boxes, I just want free flowing text as if I had written a WORD doc so I can edit it easily during the meetings.  I have tried export to text, copy, paste but I loose all of the formatting.  I have tried HTML and then copy, paste, but this is even worse than the text output.  RTF also has the text in boxes. 
    Someone out there MUST have run into this problem also.  Help me... 

    Post Author: kepner
    CA Forum: Exporting
    Hi,
    Did you find the solution to export to Word in the free flow text format? Could you please share with me the resolution.
    Has any body foud the resolution to this issue? any updates from MIcrosoft or BO.
    Regards,
    Kepner.

  • I am producing a 3d animationproduction. W want to work with artist all over the world. Is final cut server a good solution to use for such a production. I dont have a lot of computer nollege myself. Please can sombody advice me? tenaks

    I am a producer  and  starting with a 3d animationfilm. We want to work on it with 3d Artist from all over the world. Would final cut sever be a good program to use? I dony have many technical nolledge. Good sombody advice me? Thanks Will

    Only if all your artists have access to your local network, or an FTP server that FCSvr also has access to.

  • When I tap on my Safari app. the iphone screen goes to a black blank screen. It has some stuff at the top like verizon 3g the time battery life. Whats wrong with it? Thats the only sceen doing it.

    When I tap on my Safari App. the Iphone screen goes to black blank screen. No other App. dose it
    . it started doing it right after I tapped on a screen that was all light blue with a circle with an arrow pointing towards the rigth hand side of screen. i had just been using the safari app search engine when this happen. How do I get the internet back.

    Reset the PRAM
    Reinstall the operating system from the dvd (you will not loose your data)

  • When I use my iMac (os x 10.6.8) with iTunes (11.0.01) to sync my iPod and ipad the all of the selected viedos are installed on the iPod touch and only one or two are install on my iPad (model MD513LL/A)?

    When I use my iMac (os x 10.6.8) with iTunes (11.0.01) to sync my iPod and ipad all of the selected viedos are installed on the iPod touch and only one or two are install on my iPad (model MD513LL/A)?  With the same selections???

    Has no one seen this anomaly, all of the videos are mp4's mostlly frokm U-tube.?

  • Whats wrong with this logic - Why the error, out of bounds

    Hi there,
    I have this code that I am trying to work out with some logic I have put together, as shown below, but I get an error message saying "Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -29
    ":" What I am basically trying to do is print out a string which has both numbers and words into a vertical dialog window with the appropriate words next to their corresponding numbers.
    {code}
    A = "91011Word121314Sentence151617";
    int start = 9;
    int end = 17;
    // Considering that we are on the first iteration
    for(int i = start; i <= end; i++)
    String a2 = "" + i; // convert the integer 9 into a string
    int a1 = A.indexOf(a2); // get the index of 9 in the string A
    int a3 = a2.length(); // get the length of 9
    int a4 = a1 + a3; // the index of 9 plus its length is "equivalent" to the index of the next number in A -- 1
    String a5 = "" + (i+1); // convert the next integer 10 into a string
    int a6 = A.indexOf(a5); // get the index of 10 in the string A -- 1
    add += a2 + " " + A.substring(a4,a6) + "\n";
    /** Following the logic I would expect that at the end of the first iteration the String "add" should contain,
    just 9 followed by a space, and the A.substring(1,1) would return nothing since there is no word in the
    middle then there will be a new line */
    {code}
    However, I ended up getting a string index out of bounds exception. I would appreciate it if someone could explain to me why that would be so.
    Thanks

    define wrote:
    for(int i = start; i <= end; i++)
    That should probably be "i < end". This program seems very fragile btw. No checking if indexOf() return numbers less than zero, and ambiguous data..
    To improve your code, you should use better variable names. Also, it's better to use String.valueOf(i) instead of "" + i
    Edited by: paul.miner on Dec 7, 2007 8:53 PM - Typos

  • What is taking up all of the RAM on my computer?

    My computer has 8 GB of RAM and somehow, when 4 applications open (Finder, Firefox, Mail, iTunes, Vuze) all of my 8 GB of RAM is somehow taken up. When I look in activity monitor I can't find any particular program that is taking up excessive amounts of RAM. I've included 2 pictures of the activity monitor process list sorted by both virtual and real memory and a picture of the terminal running the top command. Could anyone help with this because it is really annoying, my computer is constantly slow, and I have to restart it a lot, often taking 5 or so minutes to actually turn on. I have actually had a kernel panic and my computer crash due to the fact that it ran out of RAM.

    The apps and songs should also be available for free download directly to your iTunes app on your computer. I would follow the instructions in this article to place your iPad in recovery mode and then connect it to your computer, the iTunes app should detect the iPad.
    http://support.apple.com/kb/HT1808

  • I need help with saving all of the photos and videos on my iPhone.

    When I access the screen that has Photos, Shared, and Albums and I click on Photos, there are more photos there than the phone is counting that
    I have on my iPhone. How do I save all those photos or put them onto my computer? I have saved the photos it will let me but I cannot access the photos from more than 2 years ago. Also my phone says I have 43 videos but only 10 save.
    Also, when I upgrade and switch to a newer iPhone, will I see all those photos from the whole history of my phone, will I see all 43 videos, and all my iMessages and SMSs?
    Thank you.

    Hi Sharon,
    The best thing for you to do is 2 things.
    When you purchase a new device(whether it be a iPhone, iPod or iPad)
    1) Perform a full backup of your old device via iTunes. This will save contacts, calendars, photos, text messages, emails, apps in folders how you left them, music, videos, podcasts etc. Note it won't import your photos unless you tell it to.
    1.1) When you get your new device it will ask whether to set up as a new device or from a backup, select from backup and your new phone will look and be exactly the same as your old one, same settings etc.
    2)[optional] I personally like to backup my photos to iPhoto on my mac once a month. When  it reaches the end of the library it asks whether to delete originals or not. If you hit no it doesn't change the photos on your device and you have a copy in your iTunes library. This is handy if you want to use photos from your phone on your mac.

  • Interactive Report with union all in the query

    I have an interactive report with the following query in the report region:
    select property,saddr1,upostdate,sotherdate1,journal_control-1000000000,account,sdesc,uref,
    suserdefined1,trans_notes,samount,detail_notes
    from journal_entries
    union all
    select property,saddr1,upostdate,sotherdate1,journal_control-700000000,account,sdesc,uref,
    suserdefined1,trans_notes,stotalamount,detail_notes
    from charge_entries;
    This gets translated as listed below during runtime. I am trying to pass a value to both SELECT statements instead of the just the bottom select statement. Is this possible using interactive reports.
    select
    PROPERTY,
    SADDR1,
    UPOSTDATE,
    SOTHERDATE1,
    ACCOUNT,
    SDESC,
    UREF,
    SUSERDEFINED1,
    TRANS_NOTES,
    SAMOUNT,
    DETAIL_NOTES,
    "JOURNAL_CONTROL-1000000000" "JOURNAL_CONTROL-1000000000"
    from (
    select property,saddr1,upostdate,sotherdate1,journal_control-1000000000,account,sdesc,uref,
    suserdefined1,trans_notes,samount,detail_notes
    from journal_entries
    union all
    select property,saddr1,upostdate,sotherdate1,journal_control-700000000,account,sdesc,uref,
    suserdefined1,trans_notes,stotalamount,detail_notes
    from charge_entries
    ) r
    where ("PROPERTY" = :APXWS_EXPR_1)
    0.14: IR binding: ":APXWS_EXPR_1"="APXWS_EXPR_1" value="prop1"
    Thanks for any help,
    Jim

    The bottom query is actually the third query, it encompasses the two that are unioned. It is generated by APEX to allow for the search facility - to achieve what you want ignore the larger query, and get your query working in something like SQL developer. Once it's working then put it into APEX, and the search wrapper will be generated.
    select property,saddr1,upostdate,sotherdate1,journal_control-1000000000,account,sdesc,uref,
    suserdefined1,trans_notes,samount,detail_notes
    from journal_entries
    where property = :YOUR_CRITERIA
    union all
    select property,saddr1,upostdate,sotherdate1,journal_control-700000000,account,sdesc,uref,
    suserdefined1,trans_notes,stotalamount,detail_notes
    from charge_entries
    where property = :YOUR_CRITERIA;
    Then you need to think about how you are using the report, if it is linked to from another report, then create a hidden variable and pass it from the parent.
    If the report is standalone , then you could create an item , that can be edited and when submitted, re-executes the report based on the criteria entered.
    Steve
    Hot and bothered in sunny Dubai

  • Why does my mac safari keep redirecting me to websites like Mackeeper and popping up with ads all over the websites i visit?Please help me get rid of this problem safely and securely

    Hey,
    My mac keeps redirecting me to pages like MacKeeper and stuff on safari.
    Its also popping up with a ton of ads like you just one and i phone 5 and crap.
    Also when i click somewhere on the page where I'm not supposed to click some times it
    redirects me to a new page please help!!!!:/ If u give me any websites to use
    please make sure there securer or u have used them before so i don't get anymore viruses!
    P.S i only got my mac this year
    Thanks if you can help

    You may have malware installed on the Mac. To remove it run this:
    Adwaremedic: Removes all known adware from your Mac

  • Logic Pro X with ZoomH4 all of the sudden input -db's?

    Hi,
    I've been using my ZoomH4 rather effortlessly as a external microphone with logic via USB,  but recently I plugged it in, selecting "USB Audio I/F" as usual, starting up logic and creating a new track with H4 as input. I noticed when trying to first record that the metronome was playing via the Zoom instead of via my computer (I normally have my headphones plugged into my laptop to hear the metronome and any audio). this isn't normal but then i noticed that i could barely hear any audio because my input automatically recorded at negative db's (as high as 50 or 60) so i could barely hear the recording or play back. this had nothing to do with my mic level on the zoom, it just showed up like this in logic suddenly:
    notice how the input is at -28 db's. i tried to adjust it manually but it wouldn't budge and there must be an issue because i am unable to hear the audio with my headphones pluged into laptop now...is this a user error? i did the same steps i always do when starting up logic and using zoomH4. does anybody know what's going on, did i switch a setting accidentally or something? i'm not the most computer saavy so if this is an obvious fix, apologies for my ineptitude. any help is appreciated. thx.
    -maggie

    Have you gone into Logic's Preferences/Audio and set your Input and Output device.
    Input should be the Zoom and Output should be Built-in Audio.
    The Mac's System Settings have little to do with Logic, Logic has it's own set of audio preferences that are independent of the Mac's settings.
    Also, you may want to look at these to forum posts I started.. the las Logic update, 10.0.5 does some "funny" things with quite a number of USB devices.
    https://discussions.apple.com/message/24346140#24346140
    https://discussions.apple.com/message/24346456#24346456

Maybe you are looking for

  • Lock ups XF-I and X1900

    Hi I am running EVGA 33-K8-NF4-AX with the latest Bios Radeon x900xtx 2 gig OCZ 2-3-2-5 ram Antec true power 2.0 550watt PS Sony 80a Dvd burner 70 gig raptor sata dri've 300 gig seagate sata 3 dri've Sound Blaster Xf-I extreme music Windows XP SP2 I

  • BAPI to get the Material in Stock

    Hi Experts,      I have requirement in which I have to call the function module(RFC Enabled) or BAPI which give the following fields as listed below 1.Plant 2.Material 3.Material description 4.Batch number 5.Material type 6.Basic unit of measure 7.St

  • Logged in twice as same user?

    The computer that I am currently using is a Mac Pro with OS 10.4.11. Because it is a "community" office computer with multiple users, many of the settings get changed by people not knowing much about operating systems. So here's the problem, someone

  • Rescheduling using transaction V_V2

    I have created a Stock transport order and now I want to reschedule it using transaction V_V2, but I am facing problem in this. Can anyone please help me out. Thanks & Regards, Nilesh Kumar

  • Java installed fine, but will not work.

    Hello there! I am having an issue getting Java to work on my girlfriend's XP Pro PC.... The latest version installed great, and Java's install tester recognizes the install, but applets will not run... I've done everything I could find to do, which i