J Option Pane Output Problem

Hi guys,
I am new to Java and I am having trouble compiling this program via which I can calculate the number of months to pay off a loan.
I am not sure why it is not compiling and would really appreciate some solutions or suggestions
Thanks a lot.
import javax.swing.JOptionPane;
public class Final
public static void main(String[] args)
String LoanAmount;
String Months;
String AnnualInterestRate;
String MonthlyPayments;
double balance;               
double interest;
double payment;
int months=1;
LoanAmount=JOptionPane.showInputDialog("Enter Loan Amount:");
AnnualInterestRate=JOptionPane.showInputDialog("Enter Interest Rate:");
MonthlyPayments=JOptionPane.showInputDialog("Monthly Payments:");
balance=Double.parseDouble(LoanAmount);
interest=Double.parseDouble(AnnualInterestRate);
payment=Double.parseDouble(MonthlyPayments);
months=Integer.parseInt(Months);
while (balance>0)
{balance=(balance+(interest/12)*(balance))-payment;
months=months+1;
JOptionPane.showMessageDialog(null, "Number of Months ", +months);
Edited by: Java1001 on Sep 15, 2009 11:45 PM

A: J Option Pane Output Problem

Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
You are passing 3 parameters -- a null, a String and an int -- to the JOptionPane#showMessageDialog method. In the [_API_|http://java.sun.com/javase/6/docs/api/javax/swing/JOptionPane.html], do you find a variant of this method that accepts these three parameters?
db

Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
You are passing 3 parameters -- a null, a String and an int -- to the JOptionPane#showMessageDialog method. In the [_API_|http://java.sun.com/javase/6/docs/api/javax/swing/JOptionPane.html], do you find a variant of this method that accepts these three parameters?
db

Similar Messages

  • Premiere Elements 12 output problem

    I am having problems outputting my project. Different errors messages.  One says transcoding error.  Another time it says export error.  Other times it crashes. And then the program won't even open. 
    Any suggestions?
    bwatson9

    Steve,
    First, thank you for your prompt response.  This is the first time I have used Premiere Elements 12.  I don't seem to have a manual for the software.
    The product was bought with my new computer.  I am using windows 8.1 (64-bit) with Intel Core i7-4770 CPU @ 3.40GHz.  I have 12 GB of installed RAM.  I have 1TB hard drive of which this is the first project I done. 
    I have checked to make sure that I am getting all Windows and Microsoft Updates.  I even manually went to Windows Update and installed the optional updates.
    The project is a 20 min. video using mostly photos and 2 small video clips.  The project is saved in its own folder.
    When I go to the timeline in Expert view I do see an orange-yellow line above the timeline.  It runs the whole length of the project.
    I understand from reading the FAQ's that each photo cannot be larger than 1000 x 750 pixels.  I will check that and reduce their size.  Is there anything else that I need to do?
    Where can I find a manual?
    Thanks,
    bwatson9
    Date: Sun, 23 Mar 2014 06:31:03 -0700
    From: [email protected]
    To: [email protected]
    Subject: Premiere Elements 12 output problem
        Re: Premiere Elements 12 output problem
        created by Steve Grisetti in Premiere Elements - View the full discussion
    A lot depends on a lot.
    What operating system are you using? What processor do you have and how much RAM and how much free space is on your hard drive?
    How long is your project? What model of camcorder is your video coming from and what format and resolution is it?
    Have you ensured that your project file is saved to its own folder, with no other project files in this folder?
    When you add your video to your timeline in Expert view, do you see a yellow-orange line above the clips, along the top of the timeline? This indicates a mismatch between project settings and video specs.
    If you are on a Windows computer, have you set up your computer to get both Windows and Microsoft Updates -- and have you manually gone to Windows Update and ensured you have even the optional updates that don't install automatically?
    When did you last run Disk Cleanup and Disk Defragmenter?
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6234402#6234402
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6234402#6234402
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6234402#6234402. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Premiere Elements at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Macbook mini DVI to DVI output problems

    hi
    I've been using a samsung syncmaster 22" with my macbook for about a year now with no problems using the mini DVI to DVI connection
    then earlier this week i used a different DVI cable to plug my playstation 3 into the screen, when i plugged the computer DVI cable back into the screen lots of red/pink pixels have taken over the screen and when the desk is nudged red lines flash up
    i thought it might be either the DVI cable or the mini DVI to DVI adapter and replaced both to no avail, i have also tested all the cables on other screens/with other computers, and tested the screen with my playstation. Screen and cables all work fine so i think it must be some kind of output problem, but cant work out what it could be seeing as nothing would have happened to the port on the actual computer whilst changing connections on the samsung screen
    sorry for the long winded post, really wanna know what the problem is here

    Hi cbeth,
    welcome to macbook forum.
    For your friend macbook, try to press F7 back and forth to switch between mirror and expanded mode.
    Try to update your macbook hardware firmware and software using software updater and repair permission after that...application/utilities/disk utility/repair permission.
    Also reset your PRAM and PMU.
    Open your friend system preference / display and try to compare and set yours similar to hers, including resolution, color depth, refresh rate.
    Good Luck.

  • Since I installed Nero 2104 I get an error message when I try to start iTunes: registry settings changed probably due to other cd/dvd burning program please reinstall iTunes, which I've done using repair option but the problem persists...?

    Since I installed Nero 2014 I get an error message when I start iTunes that registry settings for importing and burning cds/dvds have changed probably due to other burning software installed please reinstall iTunes, which I've done using 'repair' option, but the problem persists. I have been able to import cds to iTunes since I installed Nero, but it won't anymore. Does anyone recognize this problem and have a solution? Thanks for any help. Using Windows 7.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes
    If you're still getting the error message (especially when you plug in the Touch), I'd check for a device filter confusion on the PC. (They can affect the connection of USB devices to a PC, as well as burning and importing CDs.) For that one, see:
    iTunes for Windows: Troubleshooting CD issues caused by device filters

  • Mac mini audio output problems

    This is similar to a problem that appeared before, but with a different twist.
    On 4 July all was well. On 5 July I switched on and there was no "chord" from the Mac. When I collected my mail - no sound from my speakers (which are part of my screen). Logged on to a couple of sites - no sound.
    The System Profiler, under the "Audio (Built In)" category, says: "No Built-in Audio." I know that's wrong because it's always worked before and when I plug my headset in it works fine.
    When I go to the Sound preferences panel in System Preferences, it finds the headset but if I unplug that it finds nothing.
    I tried running the hardware test (by putting in the OS X install disc and holding D during startup.) It couldn't find a problem.
    So, as far as I can see, audio output is fine for the USB headset output but not for the others. Is there a simple fix? The nearest Apple store is about 200 miles away and I don't fancy the idea of posting the Mac off.
    (And I think it's still under warranty for a couple more weeks.)
    Mac mini   Mac OS X (10.4.10)  

    hello mini users with the "no audio output" problem
    it seems that there are faulty output jacks in the macbook and the mac mini
    there are two things you can try:
    i tried everything and began thinking about what new software i had installed. it was "macam" which enables you to use older webcams on OSX. i needed that to use my webcam on skype.
    macam installs a file called "macam.component"
    if you have the same, do this - take that file out of:
    (your hard drive)/library/quicktime - macam.component
    and just put it on your desktop
    restart, then in your sound pref's choose your audio output (if doesn't work restart again)
    the first time i took it out, i had my sound back instantly, another time i had to choose audio output in sound prefs. you kind of have to try different things. after you get your sound back, you can put back "macam.component" to use your webcam.
    it seems macam causes the problem, the two can not work at the same time.
    the second thing: if you dont have "maccam" try plugging and unplugging output jack a few times and restarting until you have sound.
    the problem still could be with the OSX 10.4.10 update / quicktime...or maybe even a hardware problem like others with macbooks were saying (with the red light), not sure.
    people with macbooks and who have the red light on, say to use a paperclip to turn off the switch inside.
    my mini does not have a red light on. i tried using a paperclip but it doesnt work.
    hope this helps, beleive me i feel your pain!!!!
    what good is a computer without sound?
    extremely annoying problem that i hope apple looks into and fixes
    -andrew

  • Delimited output problem at the time of writing in to text file

    Hi ,
    I am using matrix stayle design for my reports when i am generating reports in delimited format i am getting Delimited output problem(DR.Watson ERROR) at the time of writing in to textfile.

    Hi,
    Try with new desformat delimiteddata which is available with Report 6i patch 11.
    Thanks
    Oracle Reports Team

  • Positioning buttons in an option pane

    I need to position my buttons in a JOption Pane next to the icon.
    How do i do this?

    My best guess is create the Option pane yourself and use the layouts to suit your positioning.

  • Archiving option in output type

    Hello Gurus,
    I need information on wht exactly the archiving option in Output type will do. I have created a condition type to archive the document which has the storage mode as archive only.
    I can view the document in VF07 but cannot see the document from SARA transaction. Could you plz clear me on this.
    Thanks and Regards,
    Pavan P.

    Hi pavan
    Output determination
    What is output?
    Output is communication. When we create a transaction in sales & distribution, and save the transaction we may have to communicate to the concerned business partner about the transaction.
    Example;
    Customer--Purchase Order-VA01 (Create sales Order)- save the sales order- send the order confirmation to the customer
    Here the output is “ Order confirmation”
    This output is sent to business partner-Customer-Sold to Party
    Other Examples: Quotation, Invoice, Delivery note, Packing List
    Output determination happens through Condition Technique.
    Condition records are very important here. And these records contain answers to following questions.
    a)     What is the Output Type? Order confirmation or Invoice etc
    b)     Who is the recipient? A Sold-to-party or Payer etc.
    c)     What is the media? Take print out and send, or as email? Or Fax? Or EDI (Electronic data Interchange)
    d)     When output to be processed? Immediately when the transaction saved or scheduled to happen at particular Time etc
    e)     In which language the output to be prepared
    Customization:
    IMG—SD—Basic functions—Output Control
    Output Determination
    Output Determination using Condition technique
    Maintain Output Determination for Sales Documents
    Maintain output types
    SAP provides standard Output types for sales, shipping, transportation and billing
    Sales:
    AF00                    Inquiry
    AN00                    Quotation
    BA00                    Order
    RD03                    Cash sales invoice
    Each of this condition type has Repository data called Routines
    a)     Program---Program that reads data from tables (VBAK / many tables storing data pertaining header etc)
    b)     Form routine—Program used for creating layout
    c)     Form---Layout
    The Output type has an Access sequence
    Example: BA00 has access sequence 0010
    Access sequence uses sales document type as the field under table 7
    SAP provides standard Procedures, Copy the procedure and assign it to the Sales document Type
    Select maintain output determination procedure
    Position               V10000 (Order Confirmation)
    Select V10000 and Copy as
    ZV1000 Kirlosakr Order Confirmation
    Save
    Assign output determination Procedure
    Allocate Sales Document Header
    Position ZKOR
    Sales document Type               Procedure
    ZKOR                              ZV1000
    Save
    Now maintain Condition Records
    SAP menu—Logistics—Sales & Distribution—Master data-Output--sales document
    Create VV11
    Sales Doc=ZKOR
    Partner function=SP
    Media=1 Printout
    Date=4 immediately when saving transaction
    Lang=EN
    Now select Communication Tab
    Printer= A000 virtual Printer
    Save the Record
    Create an order and check the Order Confirmation
    Create VA01
    Save
    VA02- sales document—issue output to
    Select BA00 and select Print review to see the Output
    Outputs for shipping processes customization carried out under Logistics Execution
    IMG Menu—Logistics execution—Shipping—Basic shipping Functions-Output Control-Output determination---
    Maintain output determination for outbound deliveries
    Std Delivery outputs
    LD00                    Delivery document
    PL00                    Packing List
    Follow the same procedure, like in sales, Copy the std Procedure and assign to respective documents like Delivery document etc
    Reward if useful to u

  • Options pane selection using key board.

    http://i228.photobucket.com/albums/ee151/cosmac2007/iLife.png
    Can somebody please let me know how i can select the cancel option using only keyboard? I've been using Mac OS from an year but still have to figure out this one. In Windows, a simple tab key press would do that. Please check the image to see what i am talking about. i dont know how to describe the options pane.
    Did Apple overlook this keyboard shortcut or did i live without knowing this for more than a year? It is not present in leopard too.

    This dialog box doesn't come with pre highlighted option. So we have to click with a mouse to open the application.
    [IMG]/___sbsstatic___/migration-images/573/5734399-1.png[/IMG]
    <center>
    </center>

  • My earphones will no longer work with my macbook air and the headphone jack is no longer an option for output on the sound menu. Any suggestions?

    My earphones will no longer work with my macbook air and the headphone jack is no longer an option for output on the sound menu. Any suggestions?

    Try deleting the account from Mail and then add it.

  • Graphic output problems in most programs - triangles ...

    - often at scrolling in the Finder
    - it appears spontaniously and dissappers/flicker if mouse is moving ...
    - in some programs it is permanent for example 3D Coat
    - different often and strong in different programs - in some there is no problem (5% - for example ZBrush)
    - Mountain Lion does not fix it - only some changes - for example Quicktime (not Fullscreen) a big triangle in the down left
    - little greeen/red pionts, like defect Pixels, in little groups are appearing too! - Photoshop, Final Cut Video Output...

    A screenshot give you a copy of what is actually sitting in the screen buffer.
    So this is not an "output" problem. That stuff has been messed up in the screen buffer.
    to draw the mouse cursor, the area around the pointer must be re-constructed. That is why moving the mouse cursor seems to "repair" it.

  • Print Output problem in ECC6

    Hi Friends,
    I am getting print output problem in ECC6.
    In VF03 I am giving issue output for invoice printing. Whenever I am presseing issue output one screen is coming for selecting output type. I have selected one output type and I pressed print preview then in print preview one item and corresponding amounts it is showing properly for the first time. But the problem is after the print preview if I come back and again if i press print preview button values are not getting refreshed and same item is repeated for twice and the amounts are also getting added. Again for the third time if i come back and again if i press print preview one more item is getting repeated and the amounts are also getting added which should not suppose to happen.
    What could be the problem and how to resolve it?
    Rewarded,
    Steve

    Hi,
    clear those variables in the program .
    Regards,
    Bharat.
    Reward points if helpful

  • Mac Mini HDMI Output Problem w/ LG L246WP

    NOTE: This appears to be unrelated to the "screen flickering" that has been noted previously.
    I'm using a fresh new Mac Mini 2012 with an LG L246WP LCD monitor. The monitor has HDMI, VGA and Component video inputs.
    When I attach the monitor to the Mini DisplayPort output, using a Mini DisplayPort to DVI adapter connected to a DVI to HDMI cable, the display functions properly at all resolutions - including the native 1920 x 1200 resolution that I use it at normally. All resolutions are clearly displayed in the "Displays" System Preferences pane. The display looks perfect, functions properly.
    When I attach the monitor to the HDMI port using an HDMI cable, the display does not fucntion properly. The display is shifted about 80-100 pixels to the left and about 20 pixels up, creating black bars on the bottom and right sides. Because of this, a large portion of the display is not visible including the menu bar and most of the left side. Additionally, the settings are reduced to "Best for Display" or "Scaled", with resolution options under "Scaled".
    This is not acceptable. I had planned on simply using the Mini DisplayPort output as a workaround, since I already have the DVI adapter from an old setup, but I need to use Thunderbolt to access external hard drives for rapid data transfer. One of my Thunderbolt accessories does not have two ports, so I can't simply add the Mini DisplayPort adapter to a chain. The HDMI port needs to function properly with my monitor.
    It's important to note that this monitor has functioned properly with many other comptuers running OS X, Windows and various Linux flavors and it hasn't ever done this before. I've tried several different HDMI cables, ruling that out as a problem. I've tried the HDMI to DVI adapter that ships with the Mac Mini 2012 along with two different DVI to HDMI adapters, ruling that out as a problem. I tried attaching several HDMI devices (game consoles, DVD players, etc) and they all function properly, ruling out an HDMI issue as a problem. The monitor functions properly when attached through the Mini DisplayPort to DVI adapter, so it's not a problem with the monitor. I've reset the PRAM already and the installation of OS X 10.8.1 is stock with no modifications or migrated data. I've tried the suggestions on the HDMI FAQ (although there's no "underscan" option available in Displays)
    I tried to call AppleCare and after describing the problem I got disconnected with no callback. I started another ticket, described the problem, discussed the previous disconnection, was assured that I'd be called back if disconnected, and haven't heard back in two hours. So I started to dig into the problem in earnest.
    This gets pretty technical.
    After substantial research, it appears that this issue is related to the EDID that the monitor sends to the computer and, crucially, the way that the driver responds to it. For some reason, the HDMI port is recognizing the monitor as a CEA device instead of a monitor. As a result, it's restricting the monitor's available resolution to the native resolution  that the CEA 681 Series Extension describes ("Best for Display") and all other resolutions (including 1920 x 1200) are only available as "scaled". For some reason that I can't discern, all resolutions (even the 1080i and 1080p options) have similar deformities.
    I've attempted to fix this by placing an appropriate override file in /System/Library/Displays/Overrides with an edied EDID removing the CEA-enable flag from byte 127 but, even after a reboot, the OS still insists that it's a CEA device and it won't allow me to force it to recognize the monitor as a 1920 x 1200 LCD Monitor.
    How did I come to this conclusion and develop the fix? A nearly identical problem description showed up on the following website, with details on how this user fixed the issue:
    http://byuu.org/articles/computing/edid
    They used a convoluted process that involved dismantling the monitor and flashing the EDID on the monitor itself. It fixed their problem. I'd prefer not to go through that process just because one computer has a problem with it. Frankly, I'd prefer if the new Mac Mini performed properly in the first place.
    TL;DR: The Mac Mini 2012 doesn't work right with the LG L246WP through the HDMI output. Everything else works fine with it. This is very uncool. It's most likely to be an issue with the driver for the Intel HD Graphics 4000 GPU that are bundled with OS X 10.8.1. The Mac Mini 2012 won't update to 10.8.2 (yet), so I can't test it.
    Anyone have any other ideas? Anyone else using a Mac Mini 2012 (or 2011) with an LG L246WP monitor? Anything simple I've missed?

    Problem Resolved. But it was complicated. And a huge pain in the rear.
    TL;DR: I flashed the EDID as described here. This is not recommended for the weary. Ideally, Apple should release an update OS X that will include the updated Intel HD Graphics 4000 drivers that utilize the CEA flag properly.
    Here's the detailed version. As mentioned above, this isn't recommended for the weary. An improper (or interrupted) EDID flash can have seriously unpredictable effects on a monitor's performance.
    Step 1: Get a Windows PC set up with a floppy drive and find a floppy disk. Use this system to format the floppy as a MS-DOS Boot Disk and copy over the "ddcw" program described at the aformentioned link.
    This took awhile, but I was able to cobble together a temporary frankensystem with parts I had laying around. In installed XP and formatted the disk with XP's format tool.
    Step 2: Grab EDID data from the monitor, modify it to disable CEA mode at bit 127 and make sure bit 128, the checksum, is appropriate.
    This also took awhile. Several graphics cards I tried could not read or write EDID data. I ended up swapping AGP cards in my frankenstein box until I found one that worked - a generic GeForce4 4200.
    Once the EDID data was written to the floppy, I edited the text file containing the EDID data to change the last two hex octets from "01 33" to "00 34" (00, to disable bit 127, and 34 is 33 + 1, which satisfies the checksum) and formatted the text file to match the sample included in the EDID_Write.zip file. Your mileage may vary - make sure the checks.
    Step 3: Write EDID data to the monitor.
    The link above mentioned three options: Easy (monitor's EDID is unprotected - write away!), Hard (monitor's EDID is protected - use service mode to attempt a fix), and Very Hard (monitor's EDID is protected, hardware modification is required).
    Luckily my LG246WP simply needed to be put into service mode as described at the link above (menu + power) and once started up in service mode, I simply enabled "Aging Mode" (whatever that means) and attempted a DDCW write of the updated data.
    Step 4: Profit!
    After doing this, I powered off the monitor and powered it back on with the Mac Mini attached. The display functions PERFECTLY with HDMI out, just as it does using the Mini DisplayPort to DVI adapter.

  • Split Track Audio Output Problem

    I'm trying to make a split track audio output as one requirement of the deliverables list on my current job. Dialog goes left, music right.
    But even though I set up my sequence as two track mono, and have pre-panned the tracks all the way to the left (A1) and right (A2), I seem unable to make a quicktime that will play them as discrete tracks.
    Inside Premiere, they play back properly -- A1 is coming out of the left speaker, A2 out of the right. No bleed or overlap.
    I'm exporting them as quicktime, 2 mono tracks, ProRes 422. But when I play back the resulting quicktime -- voila, the tracks have been re-mixed together without my consent!
    I've tried Media Encoder, with the same results.
    FYI, In the "Channel Layout" section I've tried clicking both "mono" and "discrete" without any improvement. I feel like the problem might be that I'm choosing "Stereo" from the "Channels" popup, but there is no option for two channels that are not in stereo. It goes from mono to stereo to 3.
    Any suggestions would be most welcome. Especially if they arrive soon!  : )
    (Using Premiere Pro 2014.1 on a MacPro Quad Core 2.93GHz machine with 16GB of RAM.)

    i'm experiencing the same issue since today.
    very loud (nearly ear damaging) glitches on crossfades on audio channel. doesn't matter if mp3, aif, or wav.
    plus one channel of stereo sometimes randomly gets louder on transitions for a short time.
    is still there in export. no matter if directly from premiere or via media encoder. (export as prores 422 with uncompressed audio). disabled native ppro import in AME, didn't help
    cleared all media caches and preview files, didn't help.
    not using preview files for export.
    read alot about this bug being in older version here on the forums, but it is still there in CC 2014 v8.0.1
    i am on osx 10.8.5.
    please help Adobe.

  • Mini-DVI TV Output Problem

    I recently purchased the Mini-DVI to Video Adapter for my Macbook at an 'authorized' Mac reseller here in Seoul, South Korea (we also use NTSC here). When I got home I turned off my mac, hooked everything up, turned on the TV and then turned on the Mac, and then clicked 'Detect Displays'.
    But the Mac doesn't correctly detect the TV. In the display menu it gives me display resolutions as if the TV were a seperate monitor (like 1600x1200, 60mhz, millions of colors). I tried every resolution option and the one that works best (and that it sets to after clicking 'Detect Displays') on the TV displays six small, black and white, distorted images of the screen scrolling vertically. Other resolutions do not display as well as that.
    The TV itself is fine, I can hook other things into the composite inputs with no problem. For some reason the Macbook just won't output a signal my TV will understand. Is there a way to manually tell it what resolution to output? Did I just buy a faulty adapter? Would the composite cord itself make any difference?
    Please help! Thanks.

    One last try to get some help...
    Can someone tell me what Resolution options are available in the Display menu when the Macbook correctly detects a TV? Does it just say PAL / NTSC with overscan options? Thanks.

Maybe you are looking for

  • How does Contains method work?

    Hi, I am trying to impelment pick's theorem. Problem came out when I am reading the integer points E.g. When I calling Polygon Contains method, say, Triangle A: 20,20 B: 20,25 C:25,25 the result is: 20 21 20 22 20 23 20 24 21 22 21 23 21 24 22 23 22

  • Problem with start WLS

    Peace! I'm developing servlets that invoke ejb object under WLE. I include in classpath for starting WLS 4 jar in udataobj of WLE. When I try to start server there are problem and it doesn't start. What do I include to run a client of EJB? PS: I thin

  • MacBook Pro and connecting a Blackberry 8830 to use as a modem

    I have a MacBook Pro(10.4.11) and I want to connect my BlackBerry to be used as a modem (bluetooth) I have Sprint PCS as my provider and a BlackBerry 8330. I have the proper plan, the computer and the BlackBerry recognize each other it just won't mak

  • Using A JTree Model to Open Files

    Hello all, How can I open the files that are displayed in the JTree? I have a JTree with names of the files that are saved on my hardesk, but I can't use the JTree to open these files. I have already implemented the TreeSelectionListener.

  • Java programName

    hey there :) , I know how to compile a java program and run it ....but {code D:\coding\Java>java firstApp I will D:\coding\Java>java firstApp.class Exception in thread "main" java.lang.NoClassDefFoundError: firstApp/class Caused by: java.lang.ClassNo