Needing help organizing JOptionPane outputs

Evening all,
I'm trying to have a few variables whose info I get from JOptionPane such as Id, Name, Address etc.. to print out in a finished JOptionPane. The program I have so far prints it out nice and neat in the cmd window, but I havent had to make it printout in a JOptionPane window all nice and neat.
Would anyone be able to supply a small portion of code for this?
I would need it to print out like so
(title of the window is College of Java)
Id:
Name
Address
Major
Status
Gpa
Many Thanks to all who help :)

String message = "Id:\nName\nAddress\nMajor...";
JOptionPane op = new JOptionPane();
op.showMessageDialog(this, message, "High Scores", JOptionPane.PLAIN_MESSAGE);Like that?

Similar Messages

  • Need help organizing photos

    I need help organizing my photos.  Over the years, my Mac has collected photos in many different locations, many different folders, both on the internal and an external hard drive.  What I need is the best and easiest software for: 1) searching multiple hard drives to find all photo (and video) files; 2) identifying and removing all duplicates; and 3) putting all photo and video files into a single organized folder in a location that I specify.  There are lots of products out there, but I can't seem to be able to figure out which one is the best, and which one will do exactly what I need it to do.  Any suggestions from the community?

    Import the photos into iPhoto and use iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -  to find and eliminate duplicates
    LN

  • Need Help regarding text Output

    Dear gurus.
    I need help regarding formatting of a text.
    I want to format a employee sub group text.
    im getting a text workers (7) from a table t503t having field ptext.
    i want to show only (7) in the output not the whole text how can i do this ?
    Please help
    regards
    Saad.Nisar

    DATA: BEGIN OF itab_odoe OCCURS 0,
      department_text LIKE t527x-orgtx,"Holds the short text for department
      department_no LIKE pernr-orgeh,
      pernr LIKE pernr-pernr,
      ename LIKE pernr-ename,
      grade like t503t-ptext,   "THIS AREA GET ME TEXT OF EMPLOYEE SUBGROUP"
    *  department_text LIKE t527x-orgtx,"Holds the short text for department
      current_year LIKE sy-datum,
      wt0001 LIKE q0008-betrg,"Basic Pay
      wt1101 LIKE q0008-betrg," COLA
      wt3002 LIKE p0015-betrg,"Overtime
      per_basic type p DECIMALS 2,"Overtime percentage on basic
      per_basic_sum type p decimals 2,"Overtime Sum Division
      overtime_sum LIKE p0015-betrg,"holds sum of overtime
      basic_sum like q0008-betrg,"holds sum of basic
    END OF itab_odoe.
    Im using the select statement to get the employee subgroup from the table
    select single ptext
        from t503t
        into itab_odoe-grade
        where persk eq pernr-persk
        AND SPRSL eq 'EN'.
    now in itab_odoe-grade the values comes is Workers (7) , Snr Mgt (M3)
    i want to show only the text in Brackets.

  • Need Help for -  JTextField outputs

    Hello everyone im back =P
    Just finished a code...and now i'd like to print the output using the JTextField , but it seems im having some problems :) ....don't know how to print the String.
    for JOptionPane its easy , we use JOptionPane.showMessag....etc
    we have also System.out...but i want to print this string with the JTextField, does anyone can help with that? thnks
                double m = complexo.module(r,i);
                double a = complexo.angle(r,i);
         String text = "Module: "+ Double.toString(m) + "\nAngle: " + Double.toString(a); 
    // I want to print  that String -> text
         JTextField  output = new JTextField(100);
         JPanel p = new JPanel();
         p.add(output);
         output.setText(text);
         output.setEditable(false);
    /** Is that ok ? do i have to use the JPanel or the JFrame ?  , well i just 
    *   want to print  that string  (text)  using the JTextField */ thnks

    In the future, Swing related questions should be posted in the Swing forum.
    and now i'd like to print the output using the JTextFieldLets get some terminoligy correct first. "Print" means you want to send the text to a printer so it can be printed on paper. I don't think thats what you want to do.
    You want to display the text on your monitor using a GUI. In that case you need to create a GUI container that contains a JTextField that will display the text.
    Start by read the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html]How to Use Top Level Containers. The tutorial also has a section on using text components which shows you how to use a text field.

  • Need help in CSV output.

    Hi all,
    We have a requirement to produce a csv output file. we have created RTF template since we have dynamic column requirement. Now when i export in CSV format a blank file is generated in text format. When i tried to view in excel the output looks fine.
    Instead of saving in xls format, when i tried to save in csv, junk values get saved.
    Any pointers regarding the issue will be helpful.
    Regards,
    Vinoth.

    You might have created RTF template.
    if you need a csv/Flat-file you have to create E-text template for this.
    On what is e-text and how to create, refer
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T421739T481436.htm

  • NEED HELP!!  outputs mono and stereo

    Im new to Logic but not pro audio. I have a Motu 896hd and It has 22 outputs. Logic will not show a selection for individual outputs in mono. Just Stereo Pairs 1-2 3-4 etc to 21- 22. I need to see all the Channels to route properly to outboard gear Please help. Looked in Manual Doesnt say much about output assignments

    [..] for individual outputs in mono. Just
    Stereo Pairs 1-2 3-4 etc to 21- 22. I need
    to
    see all the Channels to route properly [..]
    AFAIK you can't do that for the output, only for the
    input (try switching a channel in the environment to
    mono).
    But if you're just working with outboard gear, you
    might want to have a look at the I/O plugin under
    "Logic -> Helper". Using this plugin is more
    Logic-like than wasting the input or output tab for
    insert routing.
    HTH Daniel
    G5   Mac OS X
    (10.4.6)  
    Thanks Guy A real life saver....
    I use an external mixer 32 channel and need to route audio indiviually was a real downer when I got nothing but Stereo tracks.

  • Oh my goodness......I need help organizing/finding my photos!!!

    Man, I have a mess......
    About 4-5 months ago I bought a Seagate external hd, and I wanted to back-up ALL of my photos on my Powerbook. I am using iPhoto 6.0.6.
    I wiped the new hd and prepared it using the discussion forums here. Everything was cool.
    I "decided" to go into my folder on my powerbook and delete/"clean up" some of my photos before I backed it up onto the Seagate. Big mistake. I went into the libraries folder I think and was selecting multiple items at a time and as I was dragging the stuff, I lifted up on the key and dropped them into various places. An example is this when I click on the HD icon and select Pictures. I have all kinds of crap in the wrong places/folders and I cannot remember where and what I did because it's been soo long. Where do I start? The pictures are all there, but they are all over and not organized at all....
    New Library
    Modified
    Library6.iPhoto
    ThumbJPGSegment.data
    com.apple.iPhoto.plist
    Library.data
    Originals
    iPod Photo Cache
    Thumb64Segment.data
    iPhoto Selection
    iPhoto Library1
    iPhoto.ipspot
    iPohot Library1
    Dir.data
    Data
    iPhotoLock.data
    Albums
    AlbumData.xml
    Thumb32Segment.data
    Library.iPhoto
    2002
    2003
    2007
    2005
    2004
    2006
    2008
    com.apple.iPhoto.plist
    Roll 189
    Roll 187
    Roll 185
    Roll 188
    2008
    2002
    2004
    2005
    2007
    2006
    2003
    I have a mess, and want to consolidate all of my pictures both external and internal into ONE folder, and put them somewhere safe until I get a time capsule in December. I will probably get rid of the Seagate. I have about 200gb available on the Seagate, and only 30gb on the Powerbook.....getting full.....!
    I would like to install a "clean" iPhoto onto the Seagate, and get all of my photos into one place on the Seagate. Without going any further, and promising to NEVER do this again, where do I start?
    Please help. Many are very important photos of my children, and I wish to back them all up!

    I believe you'll have to resort to the following:
    1 - search you User folder (type Command+F) with the following criteria:
    File type=image
    Title includes .jpg
    File size is treater than 100 KB.
    This should bring up in the search result window all full sized image files.
    2 - create a new folder on the desktop and drag these files from the search results window into that folder.
    3 - create a new library.
    4 - open the iPhoto/Event preferences and check the check box titled "Imported items from Finder" and select the time period you will want to have the photos split into during import, 1 day, 1 week or one of the hourly selections.
    5 - drag the folder of image file from the desktop into the open iPhoto window.
    That will get your image files imported into separate events based on the time frame you selected in the preferences. If you don't all of your photos will end up in one large event. They can be separated later but I believe it would be better to do a preliminary sorting during import.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.
    and drag the folder from the desktop into its open window. Yo

  • Need help to get output in XML

    Hi all
    I am a PL/SQL programmer and have no idea about XML :-(
    I am using ORACLE 10g and my application generates atleast 100 text files a day for customers. These files are manipulated using Utl_File package and gets data from the DB.These files are tab or comma delimeted. Now company wants to give an option to customers to get the same output in XML format. My understanding is that I need to get information from customers first to make the report template for them and then use some XML parser to get data from DB and give an output using that customer's specific template.
    I wanna know, if there is any whitepaper or manual that can guide me step by step. I just need to make an idea how the things can go togather and the sequence of operation.
    Rashid

    Hi all
    I am a PL/SQL programmer and have no idea about XML :-(
    I am using ORACLE 10g and my application generates atleast 100 text files a day for customers. These files are manipulated using Utl_File package and gets data from the DB.These files are tab or comma delimeted. Now company wants to give an option to customers to get the same output in XML format. My understanding is that I need to get information from customers first to make the report template for them and then use some XML parser to get data from DB and give an output using that customer's specific template.
    I wanna know, if there is any whitepaper or manual that can guide me step by step. I just need to make an idea how the things can go togather and the sequence of operation.
    Rashid

  • Need help with video output

    Have a Panasonic vt50 and Skype app was downloaded. When I try to connect with contacts, they can see me but I can't see them.
    help!

    You have MacKeeper on your system which is total garbage software.
    GET RID OF IT!!
    http://applehelpwriter.com/2011/09/21/how-to-uninstall-mackeeper-malware/
    Delete/uninstall all Seagate and WD software. It is not needed by OS X and can cause variety of issues.
    Also, if you are still using an old RIM Blackberry cell phone, be advised that the supporting RIM Blackberry software has not been updated in many years and will never be updated for any of the newer versions of OS X.
    If you no longer use a Blackberry cell phone or you don't really use the installed Blackberry support software any longer, completely uninstall this software, too!
    http://btsc.webapps.blackberry.com/btsc/viewdocument.do?noCount=true&externalId= KB18771&sliceId=1&cmd=displayKC&dialogID=1693797&docType=kc&isLoadPublishedVer=& stateId=1693905&docTypeID=DT_SUPPORTISSUE_1_1&ViewedDocsListHelper=com.kanisa.ap ps.common.BaseViewedDocsListHelperImpl
    Make sure you updated all of your installed software and updated all connected third party device software and drivers.
    Make sure you updated all of the various web browser plugins you that have installed within your web browser.
    Your Mac could benefit from purchasing and installing more RAM.
    Correct, compatible and reliable Mac RAM can ONLY be purchased from online RAM sources Crucial memory or OWC (macsales.com).

  • I need help organizing my Loop Library

    I've been researching this online but just cannot find the answer.
    I have GB11' (ver 6.0.4) operating on OS X Lion (ver 10.7.2).
    I've learned how to add custom loops by using drag-and-drop and Apple Loop Utility
    But I am still having troubles so I'd like to ask a few questions
    How do I add an entire folder of loops?
    I've tried drag-and-drop, GB seems to respond to it and would begin to load data, but I cannot seem to find it anywhere in the library.
    I could, however, add them individually and it works without a problem.
    I've tried Loop Utility too, but after saving the files it still would not appear in my GB library.
    (the files are in correct format .WAV and .AIFF)
    Where are the physical files of the custom loops located?
    So GB won't let me add an entire folder of loops, fine. I've managed to add a few individually, BUT! Where are the physical files?
    One discussion I found from here said that different versions of GB save the files in different locations.
    According to the article, I should be able to find them in /Library/Audio/Apple Loops/User Loops
    But on my Mac there is no "User Loops" folder. (They are not in "/Apple Loops for GB" either.)
    The bizzare thing is, these loops still work in GB!!!
    The reason I'm asking this is because I'd like to get rid of some undesired loops I added while testing.
    Also, I want to rename them so I can easily locate them.
    But this seem impossible because I cannot find the actual files..
    So the last question is
    How do I delete or rename the loops?
    If I can't rename it, at least let me delete it so I can reupload!!!
    The "Loop Index" does not contain any information about the loops I added either.
    Any help will be appreciated!!
    Thank you for your time!!

    allstreetball625 wrote: How do I add an entire folder of loops?
    I've tried drag-and-drop, GB seems to respond to it and would begin to load data, but I cannot seem to find it anywhere in the library.
    dropping the folder onto the browser pane _is_ indeed how you add loops. perhaps it's a setting in your project:
    http://www.bulletsandbones.com/GB/GBFAQ.html#missingloops
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    allstreetball625 wrote:
    (the files are in correct format .WAV and .AIFF)
    and they have been formatted as "Apple Loops"?
    allstreetball625 wrote:
    Where are the physical files of the custom loops located?
    http://www.bulletsandbones.com/GB/GBFAQ.html#myloopsstored
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    allstreetball625 wrote:
    How do I delete [...] the loops?
    see the end of the above FAQ entry
    allstreetball625 wrote:
    How do I [...] rename the loops?
    i don't believe you can from within GB, you'd have to drop the renamed file onto the loop browser to index it
    allstreetball625 wrote:
    The "Loop Index" does not contain any information about the loops I added either.
    there is usually more than 1 index file (not sll stored in the same place). see the reindexing entry for help in finding them:
    http://www.bulletsandbones.com/GB/GBFAQ.html#reindex
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Need help with XML output formatting

    Please see:
    http://forums.adobe.com/thread/852920?tstart=0
    Didn't want to cross post. Thanks!

    Are you going to use this HD exclusively on Mac? If so, you may copy the data to another place (I have no idea how much data we're talking about here), then reformat the disk for better Mac compatibility.
    If you're going to need to access if from Windows machine too, or for some unknown reason you want to keep it formatted NTFS, you can use something like this so Mac will be able to write to it:
    http://macntfs-3g.blogspot.com/2010/10/ntfs-3g-for-mac-os-x-2010102.html

  • Need help organizing 1600+ photos for a digital picture frame.

    I need to organize 1600+ photos semi-randomly on a mass storage device for use in a digital picture frame that will only allow organization by date and folder. I say semi-random because there are a few photos that I would like to keep next to each other as they are a sequence but i would like the rest randomized.  The photos are currently in a single album in my iPhoto library. Is there an effective way of doing this?

    create folders in the finder in whatever order you desire eg. a, b, c or 1, 2, 3, or whatever alphabetical name you desire.
    Drag and drop images to relevant folders
    then upload to picture frame SD card or whatever method of storage it uses.

  • SQL Server 2008 R2 - need help in interpreting output of statistics time on

    Hi,
    Could you please help me to understand how to interpres CPU and Elapsed time
    I ran a query that took  1h 23 min 52 sec to complete.
    My statistics time result hows the following:
    CPU time = 17407152 ms, elapsed time = 5018172 ms.
    Both well exceed 1h 23 min 52 sec if I consider ms to be milliseconds.
    Could you please help me to understand why such mismatch?
    Does ms actually mean milliseconds?
    Thanks,
    Andrei
    SSIS question

    Mostly the query is going for parallelism (running on multiple CPU) and that's why CPU time is more.
    5018172 ms
    5018.172 sec 
    83.6362 min
    1.393936667 hours
    1 hr 23 min (matching with wall clock)
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Need help organizing photos when I transfer from PC

    I am copying pictures from my PC into iPhoto, and I am having a hard time trying to figure out how to save them when I have a folder within a folder.  In other words, if I have a genealogy folder on my PC and then within that folder I have it broken down into family last names, and then it will be further broken down into pictures, wills, etc.  Would it be worth it to put this type of information under a new event?  I haven't had a hard time with the other pictures.  I just set up a new folder in iPhoto with the year, and then drag my folders of pictures into it.  Thank you for any help!

    That is not how events work. They are just buckets of photos    For that type of organization you use albums and folders
    LN

  • ***NEED HELP WITH .M2V OUTPUT***

    Hi there, I'm urgently trying to get my short film onto DVD to send copies to crew/actors... to eliminate as few questions as possible I'm going to try and give as much background as possible...
    I'm working off of:
    Final Cut Pro 5.1.2
    Compressor 2.3
    The movie was shot on DVX-100B in Widescreen... (23.98 mode) followed the specific details capturing it 29.97, then conformed it in Final Cut after the fact to 23.98, and that went without a single problem... footage looked great!
    Since then, (without going into too much detail) the final edit was outputed onto a Digi Beta at full rez, and then brought into a Flame system, for some minor effects and colour correction. (the pulldown was removed again and the footage was made 23.98 again in Flame because a d-beta tape is 29.97)
    So, after it's all said and done, I'm left with an uncompressed tiff sequence of the film outputed from the flame system (at 720 x 486 letterboxed... 23.98)
    I followed the instructions from the FCP manual to properly put the tiff sequence together (18,271 frames... 45 GB) in QT Pro, and saved that as a QT reference file which I then imported the reference file into FCP.
    Here's where many of my problems started arising...
    I know the footage is widescreen (it's letterboxed at 720 x 486)
    I know the footage is 23.98 progressive...
    Would the pixel aspect ratio be CCR 601 or Square pixels? Because changing it back and forth from one to the other in the FCP sequence setting, I can't tell which one looks more accurate!!!!
    Also, what should the sequence timeline compression be set as? I just assumed that it should either be set to 'Tiff', 'Uncompressed 8 bit' or 'None'...
    When I dropped the tiff sequence (.mov ref file) into the FCP timeline with the 'Tiff' compression, it showed me (by the red line) that it would have to render the entire sequence... same thing happened when I set the compression to 'None'... however, when I set the compression to either '8 bit uncompressed' or '10 bit uncompressed', the first 200 frames or so showed up as not having to be rendered, but then everything else had to be... which I thought was strange...
    So in the end, the timeline settings were set to CCR 601, 720 x 486, 23.98, with the compression settings set to 'None'.
    I then opened Compressor to export the tiff sequence from FCP as an .m2v file. (so I could then drop it into DVDSP)
    Compressor recognized the source as "CCR 601, 720 x 486, 23.98"
    The settings in Compressor I gave for the OUTPUT were as follows:
    23.98
    720 x 480
    CCR 601
    16:9
    two-pass VBR
    Many hours later when it was finally done, I dropped the file in my DVDSP project, and playing it back in the simulator, the picture looked EXTRA squished (horizontally)... (adding extra black on the top and bottom of the frame)
    ...and this was the result I got when I played the dvd back on a 4:3 television.
    I must've gone through every single track option in DVDSP (16:9 pan scan / 16:9 letterbox / 16:9 pan scan + letterbox, and 4:3)
    They all come out with the same result to the picture: squished!
    Here's what I really don't understand... When I dropped the .m2v file in DVDSP, right away it recognized it was a 720 x 480 file... but what I noticed when I actually opened that same .m2v file (that compressor created) in QT, it told me that the dimensions of the .m2v file is ACTUALLY 720 x 404... so of course it's going to looked EXTRA squished no matter what else I do to it.
    So that made me think, maybe I should try to export the tif sequence (from compressor), leaving all of my settings the same, but just changing it from 16:9 to 4:3... now when that was done exporting I opened it up into QT and it showed that the frame dimensions of that file was 640 x 480... so of course loading THAT into DVDSP, I was also getting a warped picture.
    I know I wrote a lot, and I hope someone made it this far... Can someone PLEASE tell me how I can get my 720 x 486 letterboxed movie to play back properly on a DVD!
    Any possible solutions to this will be greatly appreciated!
    Thank you,
    Aaron

    Hello -
    Though your workflow has a few extra steps, handling the aspect ratio can still be simple enough.
    First off, since DVD supports anamorphic 16:9, and players can letterbox on the fly, there is no reason to letterbox your video at any earlier stage of the process. If possible, you should plan to obtain the full-frame anamorphic version of your piece before any final distribution.
    For your pre-letterboxed source, you should be using 4:3 settings for compression and authoring.
    The tiff image sequence will probably not be able to be native to any available sequence presets in FCP. However, unless you are editing it further in FCP, you can drop the sequence file directly into Compressor. Usually I will use FCP anyway simply to place my chapter markers. You can export the image sequence to a QT reference movie that can be native to your sequence settings if you wish, or use this movie as a simple way to get your chapter markers to compressor. If you are dropping the media into FCP first, you should use a 4:3 uncompressed sequence preset.
    If you are seeing a slight distortion in the aspect ratio, this may be due to the extra 6 lines in your uncompressed 720x486 source, compared to the final 720x480 dimensions of your encode. Your compressor preset should be set to crop, rather than scale down to 480. I usually crop 2 top and 4 bottom to avoid any potential field reversal. But in the case of your 23.98p media, this should not be an issue as you should encode at 23.98p to match your source.
    You should ignore any dimensions you see in the QT Player info or settings windows. These will show you the square-pixel-equivalent display dimensions, and not the actual dimensions of your source.
    Hope this all makes sense -
    Max Average

Maybe you are looking for