Problem in OPENING file saved as .bmp(JFilechooser)  in PAINTBRUSH / WIN98

hello
Using the JFileChooser I saved the contents of a canvas as " .bmp" file
now when I try to open this ".bmp" file in the paintbbrush application in windows, I am not able to open.,......
can anyone pls explain me why ?? how ???
also the vice- versa is not happening....
a filed saved in ".bmp" format by the paintbrush is not opened in the java using the JFilechooser ???
I tried to search the forum but not able to find the solution.....
am still hunting......
Kind Rgds
ASHWIN

post some code .........the code is as follows.............
for saving.......
JFileChooser chooser = new JFileChooser();
int option = chooser.showSaveDialog(this);
if( option == JFileChooser.APPROVE_OPTION) {
path = chooser.getSelectedFile().getAbsolutePath();
saveFile(path);
public void saveFile(String path){
try{
FileOutputStream ostream = new FileOutputStream(path);
     ObjectOutputStream p = new ObjectOutputStream(ostream);
p.writeObject(points);
p.writeObject(drawType);
catch( Exception e){
System.err.println(e);
and for opening.........
JFileChooser chooser = new JFileChooser();
int option = chooser.showOpenDialog(this);
if( option == JFileChooser.APPROVE_OPTION) {
path=chooser.getSelectedFile().getAbsolutePath();
openFile(path);
public void openFile(String path){
try{
FileInputStream fstream = new FileInputStream(path);
ObjectInputStream iii = new ObjectInputStream(fstream);
points = (Vector)iii.readObject();
repaint();
catch(Exception e){
System.out.println("file not found" + e);
FOR camickr
please tell me if you know
HOW TO SAVE A FILE IN " .bmp" format.... so that it could be opened in
paintbrush application in WIN 98...
kind rgds
ASHWIN...

Similar Messages

  • Help. Photoshop CC14 on Mac 5k (2014) running Yosemite 10.10.1. Photoshop stops responding when I'm opening files, saving files or creating new ones. Is anyone suffering the same problem? Does anyone have an answer?

    Help. Photoshop CC14 on Mac 5k (2014) running Yosemite 10.10.1. Photoshop stops responding when I'm opening files, saving files or creating new ones. Is anyone suffering the same problem? Does anyone have an answer?

    First, go install the MacOS 10.10 updates - you should be on 10.10.2.
    I haven't heard of Photoshop not responding during opens and saves.  Does it stop responding while the open/save dialogs are visible, or while Photoshop is actually reading or writing files?
    10.10.1 did fix a crash in the open/save dialogs, but 10.10.2 still has some odd issues (mostly program errors coming from the OS code) in the open/save dialogs.

  • Difficult to open files saved in the MAC PC when working on the network.

    Working on a network that has Mac and PC sharing and using the same file, but yesterday the illustrator went to the windows to open files saved in the MAC network. If I save the file on the hard drive it opens, but if you are not on the network. But if you open the same file with Photoshop does not show any error, even though network. I'm from Brazil and do not speak English, I needed the help of Google translator.
    release:
    CS3 on PC
    CS4 on Mac.

    This is a known issue. Illustrator is not good at using network shares. I recommend you simply save and load all files locally and then copy them to your network locations afterwards, when needed.
    Mylenium

  • Why can I not open files saved on a server?

    Why can I not open files saved on a server?

    I think I figured it out.  I set the compatibility mode to Windows Server 2008 (which is the OS on the server we are using) and it opened just fine.  Whoop Whoop.  Thanks for your help.
    Lisa

  • Hi, I have a problem with opening files on my desktop. When i double click a file I would lime to open nothing happens. Please help me with this problem :)

    Hi, I have a problem with opening files on my desktop. When i double click a file I would lime to open nothing happens. Please help me with this problem

    hello, this might be a preference in your google search settings. go to google.com/preferences and disable the option to ''Open search results in a new browser window''.

  • Can't open files saved from Safari

    In SL, I have a new problem with files that are saved from Safari.
    I first noticed it with an Automator service I made, which took selected text and made a text file out of it. But I eventually discovered the problem seemed to be with Safari. Any time Safari saves a file -- if for example, I click a link and it downloads a .zip file, then there is something wrong with that file that prevents me from opening it in another app.
    When I try to open the saved file, either by double-clicking in the Downloads window or from the Finder, the target app just starts bouncing in the dock and never opens. I have to force-quit it. If the target app is already open, it switches to it but never opens the document.
    This is only for files that were saved by Safari. Other PDF's and zip's open just fine.
    And, if I manually launch the target app, and then go to Open... and navigate to the saved document, I can open it fine.
    Files saved from Safari seem to have something wrong with them. If I quit Safari, logout, or even reboot, they still refuse to open by double-clicking.
    What could be causing this?

    Reset safari
    Safari/Reset Safari
    Go to Your HD/Library/Internet Plug-ins/ and remove to trash the "AdobePDFViewer.plugin".
    Open Safari and a .pdf and it should now open with Preview in a Safari/Browser window.
    If not then re download
    http://get.adobe.com/uk/reader/

  • Pages can´t open files saved in iCloud

    I can´t open any file save to iCloud
    I tried a workaraound:
    I couldn´t open a file save to iCloud from my iPad.
    I opened it from icloud.com and downloaded it to my iMac.
    Opened the downloaded file, and everything semed ok.
    I then closed the dokument and opened the file on my ipad again. Made som editing before I closed the dokument.
    Then I tried to open it again in Pages on my iMac, but couldent open it.
    Translated: Couldn´t open the file ".... ..."
    I also tried to open a file saved to icloud (without opening it on other machines and devises). Pages couldn´t open those files either...
    Can sombody help me?

    Possibly you have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 110 features from Pages 5 and added many bugs.
    Peter

  • Numbers - problem to open files with iPhone.

    Hello! I have a problem to open a numbers file on Iphone. this file is made with Mac and use the function "SE". I understand tha t the problem is on a table where I use this function. If I delete this part I'm able to open with the Iphone. I try also to cut the expression on 2 different "se" but not work. I'have a dubt about the possibiliy of use the "se" function on the numbers on Iphone.
    Someone have a problem like this? And find a soluction?
    Can you help me?
    Thanks
    Paolo

    Hi, I see your answer but I don't agree for 3 reasons:
    1 -  On numbers on mac the functions with ";" work good;
    2 - I try to put the comma like your suggestion but the system show me an error on the formula with the red triangle
    3 -  I read another time the online help about the instruction and is correct the ";"
    Follow I put a short screen-shot of the instruction help:
    SE
    La funzione SE restituisce uno dei due valori specificati a seconda che il suo risultato sia il valore booleano VERO o FALSO.
    SE(se_espressione; se_vero; se_falso)
    Thanks for your help but for the moments i follow to don't solve my problems.
    bye
    Paolo

  • Problem to open file in Adobe Prem Element 9?

    Hey i just have problem to open project, If i try to open the file, it says "The Catalog could not be opened. It is either corrupt, or the version is out of date and cannot be updated" Why i cant update and where i can? This Prem Element 9 is buyed for schoolcomputers and this is schoolcomputer and operating system is XP? I have been tryed repair file if it's broken, using Catalog.
    So shall you help me? I just have to make my work to end..
    Kind of Regards
    -Latexi-

    There is a separate forum for Premier Elements. You should find the advice you want at this link:
    http://forums.adobe.com/community/premiere_elements

  • Illustrator cs6 "this file cannot be found" problem when open file from network

    I used to install the trial version of Illustrator CC on my desktop and then when the trial run out I decide to go with illustrator CS6 instead, So I decide to buy &
    install Illustrator CS6 on our desktop and everything seem to be fine except
    the problem is our .ai file is located on the network shared drive of the design team,
    When we try to open the file from the network drive with illustrator CS6, it said "This file cannot be found"
    - we try to copy the file from network drive to our desktop and file can open without problem
    - if we directly double click the file from the network drive to launch the illustrator CS6 with that file. It's also fine, no problem at all.
    - but if we open the illustrator CS6 first and try open.. and then browse to that file on network, then "This file cannot be found" happen again.
    - Illustrator CS6 have no problem open file in the local harddisk.
    - Illustrator CC never have this problem open file in our network drive, try reinstall the Illustrator CC trial again and it can open without problem
    - I try using Adobe CC Cleaner tool to remove everything before reinstall the Illustrator CS6, still no luck.
    - Try remove the Adobe relate folder in user/user/Appdata and then reinstall, still no luck
    - Try right click and open with --> Illustrator CS6 , yes if we double click the file directly it's ok, but as mentioned if we open illustrator first then browse for the file, the problem happen.
    Did I miss anything to fix it ?

    the same thing happend to me,
    in my office the same folder with hebrew name, I can open files
    on my laptop the same folder with hebrew name, I cannot open files.
    I know its about the folder because when I put the files in a different folder, it open them.
    how can I fix it without changing the names of my entire work folders?
    there must be a different between my two computers.
    thanks for your help

  • Trying to create multithreading problems when opening file dialog

    Warning: Newbie to Labview...
    I have a problem in a rather complicated VI where bringing up the open file dialog halts some background operations.
    I would really like to reproduce this behaviour for various reasons, but am unable to. I've created a simple VI with a for-loop where the index feeds a sine converter which in turn feeds a tank indicator. This produces an oscillating behaviour. To this VI I've added a file dialog control.
    Regardless of the multithreading setup, I'm unable to get the oscillating of the tank indicator to stop when the dialog is open. Is there something I can do to get this behaviour? I realize it's unusual to try to break things, but it is rather important for me.
    Tha
    nk you,
    Nigel

    Hi,
    The for loop (all loops by the way) is halted until everything in it is
    finished.
    Try this:
    + Make a while loop
    + wire TRUE to the stop criterium.
    + Put an indicator on the 'I'.
    + Put a MS Wait in it (e.g. 80 ms), to prevent 100% processor time.
    Run it, and the indicator will increase fast.
    Now put any dialog in the while loop. E.g. a message box.
    The indicator will increase everytime you press 'OK'.
    Note: stop by pressing CTRL+. and clicking 'OK' several times.
    Regards,
    Wiebe.
    "N Cook" wrote in message
    news:[email protected]..
    > Warning: Newbie to Labview...
    >
    > I have a problem in a rather complicated VI where bringing up the open
    > file dialog halts some background operations.
    >
    > I would real
    ly like to reproduce this behaviour for various reasons,
    > but am unable to. I've created a simple VI with a for-loop where the
    > index feeds a sine converter which in turn feeds a tank indicator.
    > This produces an oscillating behaviour. To this VI I've added a file
    > dialog control.
    >
    > Regardless of the multithreading setup, I'm unable to get the
    > oscillating of the tank indicator to stop when the dialog is open. Is
    > there something I can do to get this behaviour? I realize it's unusual
    > to try to break things, but it is rather important for me.
    >
    > Thank you,
    > Nigel

  • Problem to open files

    I can not open files (tiff, jpeg ...) in photoshop by double-clicking or by dragging and dropping (the alert is: "The document could not be opened. Photoshop can not open files in Adobe Photoshop JPEG file format") I can open just with the open menu.

    You have to provide system information and other details.
    Mylenium

  • I have a problem with opening files

    When I try to open a file by using the ctrl+o or by going to the "open file" on the menu bar, it will not open the file I'm trying for.
    It seems to hang the program or shuts it down completely.
    This also happens when I hit the escape key or use the "cancel" button.
    does anyone else have this trouble?

    It should unzip if you double-cick.
    What are you seeing happen when you do that?
    Select a .zip file in the Finder and Get Info (cmd-i). What is set for it to Open With. It should be Archive Utility.

  • Problems with opening files from older iMacs on my iMac6, 1

    I can't open files from my older iMac Power PC G3 on my iMac6, 1. I keep getting the error message "file is used by Mac OS X and cannot be opened." The file types that won't open are .psd, .doc, and even some .pdfs. I was trying to transfer info from my old computer via flash/jump drive and nothings seems to work. PLEASE HELP!

    I can't open files from my older iMac Power PC G3 on my iMac6, 1. I keep getting the error message "file is used by Mac OS X and cannot be opened." The file types that won't open are .psd, .doc, and even some .pdfs. I was trying to transfer info from my old computer via flash/jump drive and nothings seems to work. PLEASE HELP!

  • GB problem when opening a saved song

    I am using the most recent update of garageband for my ipad2. When i attempt to open a saved song, gb will not do it and simply closes. This does not happen with other songs. Can anyone advise?

    Hi,
    In the FM'S u might have declared the import,export,tables parameters.So u have to use these parameters in the source code editor of FM.If u don't use any of these parameters and try to use any other parameters which also not declared in the FM source code,then u will get the error.pz check the parameters u r using in the FM....
    Regards,
    Nagaraj

Maybe you are looking for

  • HAPPY HOLIDAYS EVERYONE. MY NOVEL, ADMISSIONS OF THE HEART IS ON SALE FOR ONLY 2.99

    http://www.lulu.com/content/e-book/admissions-of-the-heart/16838628 This is a link that will take you to my novel, Admissions of the Heart. It is on sale during the holidays for the low price of only $2.99

  • Printing Scale Problem

    Created a flyer in Pages including 4 graphics. In Pages my work appears to cover much of the page. When I preview my work before printing in 'Preview', print or view a PDF export in 'Preview', my work covers a far smaller portion of the page. Have se

  • Photoshop Elements and Premiere Elements included in Membership?

    Hi everyone, This looks like a weird request, but I want tot install Photoshop Elements and Premiere Elements, using my Full Creative Cloud membership. Personally I use the pro-applications, but for educational reasons I would like to study the inter

  • Kenburns and image size

    Well I have been playing with Imovie for the past couple of days trying to trouble shoot. I'm not sure of what I have.. What I know is that I have to resize my images down to 640x640 roughly. If I dont and I apply the KB effect it shimmers (maybe wha

  • Errors when trying to load a flat file

    When I try and load a flat file (I have also manually created a test .csv file with one record) I am able to load to PSA, but when I try and load to the Object I get the following error message (below), how can I fix this? Thanks The test record is: