Adding Windows 7 to Windows 8.1

I have the HP Pavilion 500-223w desktop. This was to replace my HP Windows 7 Desktop that died. I used this computer for Radio production work. Some of my software will not work or even install on 8.1 but worked fine on Windows 7. I am thinking of replacing the 1TB drive with a 2TB (since you can't install a 2nd drive) and making one partition 8.1 and the other 7. However I didn't see drivers for Windows 7. So am I gonna be screwed on this idea? The software people I use for my radio work have no intentions of doing a Windows 8 version. Ideas and suggestions welcomed.
This question was solved.
View Solution.

HP doesn't recommend the installation of Windows 7 on a computer shipped with Windows 8, nor will it support the installation of Windows 7. HP will not provide Windows 7 drivers and suitable drivers may not be available for the hardware in the computer. Also, Windows 7 may not support some of the hardware or software features designed for the computer.
Make sure you create your HP Recovery Discs or USB Flash Recovery media before modifying or changing ANYTHING.
You will need to DISABLE "Secure Boot" and ENABLE "Legacy Support" in the "BIOS Secure Boot configuration" page on the settings page shown below, before you can attempt to install Windows 7;
or
Additionally, as the hard drive may be partitioned as GPT, you may have to boot the computer using the "UEFI - CD/DVD drive" or "UEFI - USB Flash drive" options in the "F9" boot menu. If "UEFI - CD/DVD drive",  "UEFI - USB Flash drive" or something to that effect doesn't exist in the boot menu, please post a screen shot and/or descibe the listed boot options.
I suggest using Windows 7 SP1 for the best intallation experience. If you need Windows SP1, please see "How to Install Windows 7 Without the Disc" to download and create your own Windows 7 SP1 disc. If the DVD refuses to boot as UEFI, you may need to use a USB Flash drive (may require DISABLING "Fast Boot" and/or setting "USB 3.0" to "AUTO" in the BIOS) as the installation media. Please download the Windows 7 USB/DVD download tool to create a Windows 7 SP1 USB Flash drive. Please note that some computers may not recognize a valid UEFI enabled USB Flash drive if it is formated as NTFS and may require a FAT32 formatted USB Flash drive. You should be able to make a FAT32 formatted Windows 7 installation USB Flash drive using Rufus, UNetbootin, Universal USB Installer, or WiNToBootic. I like Rufus, as it has options for "GPT partition scheme for UEFI computer" and "FAT32".
The specs of your HP Pavilion 500-223w Desktop Computer and the HP Pavilion 500-281 Desktop Computer are almost identical, including the same Memphis-S motherboard. The good new is that the HP 500-281 is a model that ships with Windows 7 64-bit installed from the factory. Most of the Windows 7 drivers on the HP Pavilion 500-281 Desktop PC Drivers page should work on your computer. If you still have missing or unknown devices after installing the drivers, please post the Windows Device Manager's "Hardware Ids" for those devices as shown in the example below;
If you have any further questions, please don't hesitate to ask.
Please click the White KUDOS "Thumbs Up" to show your appreciation
Frank
{------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
This is a user supported forum. I am a volunteer and I don't work for HP.
HP 15t-j100 (on loan from HP)
HP 13 Split x2 (on loan from HP)
HP Slate8 Pro (on loan from HP)
HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

Similar Messages

  • What services are added to the Windows system?

    After installing of Oracle Coherence, configuring the members and adding the ReplicatedCaches on the Windows XP system, what services are added to the Windows system?
    Thank you

    You would have to use a java service wrapper to run the coherence as a service on windows.
    Here are some that work:
    http://wrapper.tanukisoftware.org/doc/english/download.jsp
    http://sourceforge.net/projects/wrapper/

  • Windows manager\Window Manager Group

    Hello - Do any one knows what is the purpose of windows manager\Window Manager Group? I cant find it on local windows group nor local accounts.
    Im trying to add windows manager\Window Manager Group to security policy but the account cant be looked up
    Thank you,
    Adnan
    ad

    I guess my real question is where are you coming up with the windows manager account?  There is no account with such a name by default in Windows, so I am guessing it is something that you have added to your environment or something being talked about
    in some third party software install.  As such, it would be pretty hard for us to explain its purpose.
    .:|:.:|:. tim

  • Window Manager\Window Manager Group

    Based on customer requirements we need to set Bypass traverse checking rights for our Server 2012 boxes. In doing so we noticed that there is a user or group named Window Manager\Window Manager Group. I have seen references in other threads to this user
    pointing to the SID (S-1-5-90-0), but this is not documented anywhere on Microsoft website that I can find. I used Powershell to list all of the users, and I do not see a user or group on my Server 2012 box that matches this.
    Given no response from Microsoft and no documentation, I cannot effectively decide what I should do with this.
    It looks kind of shady that we are granting rights to a SID / Account that we cannot see, so I am wondering if this is some remnant for a part of Server 2012 that didn't get deployed when the code was released to manufacturing. Can some please confirm that
    it is OK to drop this user or group (not even sure which one it is) from the Bypass Traverse Checking user right?

    Hi,
    Based on my research,it is not recommended to remove the group ‘Window manager\Windows manager group’ from Bypass traverse checking or Increase a process working set.
    • Both the above user rights are utilized in windows 8/2012 for performance impacts.
    • The above mentioned group cannot be added manually to any other groups or no user can be a part of it as it does not resolve in object picker. We cannot even add ACLs to this group.
    • Due to above reasons, it is not a security breach in your environment.
    This group is a virtual group that is present on every Windows 2012 machine. The DWM.EXE that is used to manage he desktop experience runs under the security context of an account under this group and this is used to provide less privilege to the DWM.EXE.
    As such this is not documented anywhere in any of public documents. This is a design decision made by the product team which is part of the architecture of the OS. As such the practice is not to remove this group from both the user rights assignment mentioned.
    How Bypass traverse checking affects performance:
    When you try to access c:\foo\bar\baz\bletch\george.txt, “the rules” say that you need to confirm that the user has traverse access to:
              C:\foo
              C:\foo\bar
              C:\foo\bar\baz
              C:\foo\bar\baz\bletch
    If you didn’t have the “bypass traverse checking” privilege, the system would have to open each of these directories in turn and do an access check to make sure you had access to all the intermediate nodes in the path to the file.  With bypass traverse
    checking, the filesystems skip all those checks and just check to make sure you have your desired access to the file you’re opening.
    How increase a process working set affects performance:
    This settings controls who can increase the working set of a process when in memory. Working set is the data that is resending in the Ram that is visible to the process. This helps in expanding the memory a process stores in RAM thereby reducing page faults
    (paging out memory to virtual memory which will induce delays of copying the memory back to RAM).
    Given the above reasons, I strongly recommend you not to remove ‘Windows manager\Windows manager group’ from Bypass traverse checking as well as increase a process working set user rights assignment.
    Thanks.

  • Adobe Creative Cloud Desktop App Window Blank, Windows 8.1 (Resolved)

    Platform: PC
    OS: Windows 8 (8.1)
    I needed to download Flash, so I searched for my Desktop Application Manager.  Opened the Creative Cloud App, and saw this:
    I waited for it to "load" but nothing ever loaded.  I clicked the gear to see if I could log out and log back in, but just saw three practically useless options:
    [Help, Pin to Notification Area..., Quit]
    I waited 2 hours for customer service, and finally got this answer:
    Launch the run window. (press: window button, type: "run" OR window button + X, select "Run")
    Type %appdata%
    You'll see AppData > Roaming, click AppData in the address bar.
    Open Local > Adobe > OOBE
    Cut opm.db and paste it to the desktop.
    >>If you receive an error, open the task manager and close ALL Adobe processes, then retry.
    Open Adobe Creative Cloud Desktop Application
    Log in. (ta-da!)
    Delete the file that you cut and pasted to the desktop.
    I hope this helps someone avoid the long wait time for customer service to fix this error that seems to have sprouted after some update corrupted the opm.db file.

    1.  quit the app (from the task bar) and relaunch.  if that fails:
    2.  Remove the OPM.db file and relogin into the Creative Cloud desktop application using the Adobe ID tied to your subscription.
        Mac OS: You can locate the OPM.db file in the \User\<user name>\Library\Application Support\Adobe\OOBE folder. To access the hidden user Library folder, see Access hidden user library files | Mac OS 10.7 Lion.
        Windows: You can locate the OPM.db file in the \Users\<user name>\AppData\Local\Adobe\OOBE folder.  To view the hidden AppData folder, see Show hidden files, folders, filename extensions | Windows XP, Vista, Windows 7.

  • SCCM App-V 5 packages to terminal server/Windows 7/Windows 10 design

     Hi,
    I would appreciate your input on a design question on App-V 5 on SCCM 2012 R2.
    Where we are:
    We have Terminal Servers running with App-V 4.6 Clients for some years. The users on these Terminal Servers could only receive the App-v 4.6 packages (since the terminal server only had the App-V client)
    Some time ago we started the rollout of App-V 5.0 packages to Terminal servers via SCCM 2012 R2.
    In parallel we rolled out some App-V 5.0 clients to Windows 7 machines.
    What’s happening:
    Users get App-V package meant for TS (licensed applications which should not end on clients) and they should not
     What we want:
    deploy App-V packages (via SCCM) to W7 computers only, later we will deploy to users but for now our administration system doesn’t cover that
    select which App-V packages to deploy to Windows 10 (when it’s there)
    select which App-V packages to deploy to terminal servers (WKX)
    uninstall of users/computers not in collections anymore
    ð 
    TTo achieve this we would create different deployment types of an App-v package with each a prereq “W7, Windows 10, Windows terminal services”. Then also we would create an uninstall mechanism (like this http://blogs.technet.com/b/configmgrdogs/archive/2014/11/03/managing-app-v-deployments-in-configmgr-2012.aspx)
    Guess that would work, but wonder if you would see any flaws/issues
    in/with this setup?
    Thanks for your input.
    J.
    Jan Hoedt
    Update: then also I wonder the supersedence within the application (with different deployment types), f.e. 7-Zip on terminal servers should be replaced but not for Windows 7. Would that work?

    Uninstall is a bit of a concern too indeed.
    What I would do is
    f.e. 7-Zip Application-INSTALL, Deployment Types:
    *W7-Install prereq W7
    *WKX-Install prereq WK8R2, WK12R2
    => Deploy to Group "App-V-7-Zip", which has computers as well as user groups
    7-Zip Application-UNINSTALL, Deployment Types:
    *W7-Uninstall prereq W7
    *WKX-Uninstall prereq WK8R2, WK12R2
    => Deploy to Group "App-V-UNINSTALL" which has all App-V groups (such as "App-V-7-Zip")
    That's making sence, doesn't it?
    Note: "It's probably a smart idea to not trigger an uninstall on a terminal server in every occasion." Why is that? Applications should be removed when f.e. groups are not part of the App-V-7-Zip.
    Jan Hoedt

  • I am not able to see toolbars, when I open a new window that window is not visible, if I open from bookmarks and there is music playing I hear it but canNOT SEE the websites.

    I am not able to see toolbars, when I open a new window that window is not visible, if I open from bookmarks and there is music playing I hear it but canNOT SEE the websites. I was able to get window open from the help "window" and open sites from there just not from new: window tab or bookmarks those stay invisible? I tried the help suggestions, safemode,etc.

    Hi CMorenoOT,
    This prompt is usually displayed when your Apple ID needs to be configured for the iTunes Store. You'll want to run through the additional steps to setup your country, and payment information.
    iTunes: How to set up an Apple ID within iTunes
    http://support.apple.com/kb/HT2731
    Tip: If you are trying to create an account using an existing Apple ID, like your iCloud email address, you will receive a prompt telling you that your email address is already an Apple ID. Simply tap Continue, and then tap Use Existing Account on the following screen.
    - Next, you'll be required to enter your billing information. To choose a different Credit Card type, tap one of the available options, and then tap Done. You will not be charged until you make a purchase.
    - Once you've filled out all of the fields for your billing information, tap Next.
    For more information:
    Using an existing Apple ID with the iTunes Store and Mac App Store
    http://support.apple.com/kb/HT2589
    Thanks,
    Matt M.

  • IOS 6.1.3 / Windows 7 - 64 bit.  I am connecting my IPhone 4 to my Windows desktop, in ITunes I click on IPhone and then the "Check for Update" tab.  It takes me to a Windows explorer window.  How do I get it to find updates?

    IOS 6.1.3 / Windows 7 - 64 bit.  I am connecting my IPhone 4 to my Windows desktop, in ITunes I click on IPhone and then the "Check for Update" tab.  It takes me to a Windows explorer window.  How do I get it to find updates?

    Hello ibebry
    Try using the Software Update on your iPhone by going to Settings > General > Software Update. One thing to keep in mind if you are trying it on the computer is to make sure that you are not pressing any keys down when checking for updates as that may bring up a pop up window to find the update file. 
    Update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht4623
    Regards,
    -Norm G.

  • Disabling SMB2 and SMB3 Client from Windows Vista, Windows 7 and Windows 8.

    There are many programs that are using a shared file on the server from clients from XP to Windows 10. From time to time it seems like there is a network outage and the handle to the file is broken and the file
    cannot be read or updated. It seems more prevalent on a Windows 2012 server but may have happened from time to time on 2008 & 2008 R2. However there are not any network problems so it just leaves the server & Client
    I have searched for possible resolutions including:-
    Turning  off the Cache for the share
    Disabling the network adapter power setting to allow windows to put the device to sleep.
    Disabling  Antivirus/configuring it to ignore folders for on access scanning
    Disabling SMB  Signing
    Configuring the  clients DWORD registry value SilentForcedAutoReconnect=1 in HKEY_LOCAL_MACHINE\Software\Microsoft\CurrentVersion\NetCache
    Setting the "NET CONFIG SERVER /AUTODISCONNECT:-1" to not drop client
    connections
    The last bit of trouble shooting that I can think of is to disable SMB2 and SMB3 as that does a lot of caching and batching of packets which could also be the cause of the problem.
    I have looked at
    http://support.microsoft.com/kb/2696547/en-us
    I have disabled SMB2&3 on the server as that is very straight forward.
    When I get to the section about disabling SMB2 on the client the command fails.
    sc config
    lanmanworkstation depend= bowser/mrxsmb10/nsi
      After running the above command, it returns an error: 
          [SC] ChangeServiceConfig FAILED 1059:
          Circular Service Dependency was specified.
    So it's not worth running the following command:
    sc config mrxsmb20 start= disabled
    I have tried the command on Windows Vista, Windows 7 and Windows 10 just to confirm that it's  nothing to do with any particular PC, machines in Domains and Non-Domain machines.
    So, my questions are:-
    1, is
    http://support.microsoft.com/kb/2696547/en-us actually correct and up to date and for the OSes (Vista, 7, 8, 8.1, 2012 server and Windows 10) with latest updates & service packs?
    2, How do I disable SMB2 and SMB3 on clients for troubleshooting purposes the server to resolve problems with shared files (multi user access)
    3, If I just disable SMB2 & 3 from the server would that force the clients not to use SMB2 when communicating with the server and therefore not caching the directory structure and file not found etc? I have seen posts that suggest this is not the case.
    4. Does sc.exe have a bug in it?
    Thanks in advance
    Rob

    Hi,
    I made a test in our testing enviroment, everything works fine to disable SMB2 and 3. For your problem, in my opinion, as I didn't find any specific report about this error, it would be better to use Process Monitor to capture the trace when running the
    command.
    Start Process Monitor, then set the filter as cmd.exe, after that, open CMD and execute the command.
    Process Monitor:
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    In addition, I found another thread that had similar error with yours, you can take its solution as reference.
    https://social.technet.microsoft.com/Forums/windows/en-US/506828c8-e7af-4039-aca7-43321939bb55/offline-files-synchronization-error-the-file-specified-cannot-be-found?forum=w7itpronetworking
    Roger Lu
    TechNet Community Support
    Roger,
    Many thanks for the time taken to look into this.
    I've downloaded process monitor and loaded it. I filtered for cmd.exe started capture and saved a 1mb file.
    However I don't think this is going to help unless you can point me in the direction of what you're expecting to see in the capture file? If you want me to send you it I can but it does contain personal information which I'd rather not place online.
    You can recreate the problem yourself by doing the following:
    Go to modern.ie
    Download any windows 7 virtual machine for your preferred of virtualisation  platform 
    log in, start cmd as administrator and run the command
    sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi
    You will also receive the same error.
    [SC] ChangeServiceConfig FAILED 1059:
    Circular Service Dependency was specified.
    You can also try it on the Windows 8 and 8.1 machine if you have time.
    I checked the link to the similar error and that just looks at the file not found problem which is the smb2 cache. They still didn't resolve the slow access to the share which is seen on a machine that has anti-virus on it when you go to right click
    on the folder or a file in the folder. It's about a 20 second (spinning circle) pause every time. The problem is bigger than that. If you have shared files on the network share that are used by multiple people at the same time, say a spreadsheet or database
    file windows is loosing the connection to that file so the user cannot write to it even if they have the file open. The smb2 caching shouldn't cause that problem.
    It appears that I have to disable from SMB2 and SMB3 and ensure that the clients only use SMB1.
    If SMB2 & SMB3 are disabled from the lanmanworkstation service the clients will not do any caching even if the server has disabled the share cache (offline files for that share).
    The problem with the "Circular reference" error message is standard across all versions of windows that have "smb2" or "smb2 and smb3". Can you recreate that problem? Or is it working on your windows computer and on the machines
    downloaded from modern.ie ?
    My testing has shown that the command "sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi" does not work. Therefore that's the one I want to resolve first. By resolving that I may be able to get the clients accessing the share to behave
    themselves and use the shared files correctly as they always did from Windows 95/NT4 through to Windows XP and 2003/2008 server.
    I'm unable to recreate the problem with multiple users having access to shared database files on windows 2012 server from Windows 7 clients were the access to the files drops once a day or once every couple of days.
    Kindest Regards
    Robert

  • Frequent Fails when installing Adobe Flash Player (Windows XP, Windows 7, Windows 8.0, and Windows 8.1)

    Constantly see the following error message from Adobe Flash Player Installer:
    Error has been encountered. Close this window and try downloading again.
    What in heck does that error message mean?
    This message occurs most of the time when I try to update to the latest version of Adobe Flash Player.
    It would be one thing if it was only occurring on Windows XP, but it shows up on Windows 7, Windows 8.0, and Windows 8.1 frequently.
    Just for curiousity looked at the Windows 8.1 Event Viewer and NO error message shows up there.
    Would be nice to:
    (1) know what the error really is so that it can be reported to you to get it fixed once and for all.
    (2) have Adobe Flash Installer NOT to delete itself every time that the installer is run.
    (3) have an OFFLINE download installer to download and install Adobe Flash Player without the MacAfee installer.
    (4) have Adobe UNCHECK that the Install MacAfee installer that you have to opt out of each time you do an Adobe Flash Player download. You should make it to OPT IN not OPT OUT! Don't need another program installed without my permission. This causes issues when I have to uninstall MacAfee on computers that others in my family use.
    It seems to takes up to 20 times to download the Adobe installer over a period of many days or weeks to get it to install properly.
    I have written software for over 36 years as a computer programmer and now Senior Software Developer. I have do installers on my own and have to figure out how to solve my own issues on the installers to get them fixed.
    This issue doesn't seem to be tied to any particular version of Windows... Same issue occurs on Windows XP, Windows 7, Windows 8.0, and Windows 8.1! The ONLY commonality seems to be Adobe Flash Player.
    Certainly Adobe should be smart enough to fix this issue once and for all.
    If the issue is that there is a network congestion error that it cannot download the installer, please say so and please please please DO NOT delete the downloaded installer every time that it is run on a PC.
    I'd like to fix the security issues with the Adobe Flash Player AS SOON as there is a patch for it. I don't like having security issues over a long period of time.
    Please address this issue so that I can put this to bed and not have to keep sending you messages that once again the Adobe Flash Player Installer is yet again broken!
    Certainly you have a staff at Adobe that CAN fix this problem quickly!

    more information about errors can be found in the FlashInstall.log file in C:\WINDOWS\system32\Macromed\Flash (and the SysWOW64 equivalent on 64-bit systems)
    the offline installers (below) do not delete themselves
    you can find the offline installers
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    the offline installers are not bundled with any 3rd-party crapware

  • HP Pavilion 15-n268sa will not boot after windows update (windows 8.1)

    After a series of windows update (windows 8.1) my HP Pavilion 15-n268sa will not boot up, no fan noises, no lights no nothing. 
    I have tried a "hard reset" a number of times with no success. 
    When the battery is present the white LED flashes 3 times when the power button is pressed. 
    Please please help. 

    Hello Cuffy,
    Welcome to the HP Forums!
    I understand you notebook will not boot after a series of Windows updates.
    Can you tell me if you are able to access the HP Recovery Manager by repeatedly tapping the F11 key while the notebook turns on? If you can access this, try doing a system restore to before you installed the updates. If not I would suggest you go through this document: Computer Does Not Start and the LEDs Blink or the Computer Beeps.
    If it's the Caps Lock light that is blinking this document will tell you exactly what the error is (spoiler: 3 beeps is a memory failure). This could also explain the failed updates. The updates are stored in the RAM before being applied to the operating system.
    You can try reseating the RAM, or using only 1 of the RAM cards, as you have 2x4GB cards. If it still doesn't work with 1 card, try the other card to confirm it has failed.
    You can replace defective cards via HP Phone Support if covered under warranty or at the HP Part Store if not covered. You can contact HP Technical Support at 1-800-474-6836 in North America. For all other regions click here.
    Hopefully this information helps!
    Please click the "Kudos, Thumbs Up" at the bottom of this post if you want to say "Thanks" for helping!
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    The Great Deku Tree
    I work on behalf of HP.

  • My Photoshop Elements serial number is not working? The CD says it is for Windows XP/ WIndows VISTA...and my currest OS is Windows 7? Is that the issue

    My Photoshop Elements serial number is not working? The CD says it is for Windows XP/ WIndows VISTA...and my currest OS is Windows 7? Is that the issue?

    This is a question for the Photoshop Elements forum: Photoshop Elements. A moderator may find and move this to the correct forum for you.
    Benjamin

  • Fit the image to window width, window height and  the window size

    hi all
    here we wrote the code for "fit the image to window width, window height and the window size". we are facing some problems in it. and all these operations have to perform even after zooming operations are done.if the below code doesnt satisfy kindly provide appropriate code .
    thanks .
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import java.io.File;
    import javax.swing.filechooser.FileFilter;
    import java.awt.geom.*;
    public class DP extends JFrame implements ActionListener,
                                               MouseListener,
                                               MouseMotionListener {
        private final int PEN_OP = 1;
        private final int CLEAR_OP = 2;
        private int radius;
        private int radius1;
        private int mousex = 0;
        private int mousey = 0;
        private int prevx = 0;
        private int prevy = 0;
        private boolean initialFreeHand = true;
        private boolean initialLine = true;
        private boolean initialEraser = true;
        private int Orx = 0;
        private int Ory = 0;
        private int OrWidth = 0;
        private int OrHeight = 0;
        private int drawX = 0;
        private int drawY = 0;
        private int polyX = 0;
        private int polyY = 0;
        private int eraserLength = 5;
        private int udefRedValue = 255;
        private int udefGreenValue = 255;
        private int udefBlueValue = 255;
        private int opStatus = PEN_OP;
        private int colorStatus = 1;
        private double zoomPercentage=10;
        private Color mainColor = new Color(0, 0, 0);
        private Color xorColor = new Color(255, 255, 255);
        private Color userDefinedColor =
            new Color(udefRedValue, udefGreenValue,udefBlueValue);
        private JButton openButton = new JButton("open");
        private JButton closeButton = new JButton("close");
         private JButton zoominButton = new JButton("ZoomIn");
         private JButton zoomoutButton = new JButton("ZoomOut");
         private JButton zoomto100Button = new JButton("ZoomTo100");
         private JButton fwwButton = new JButton("Fit window width");
         private JButton fwhButton = new JButton("Fit window height");
         private JButton fwButton = new JButton("Fit the window");
        private JButton clearButton = new JButton("Clear");
        private JTextField colorStatusBar = new JTextField(20);
        private JTextField opStatusBar = new JTextField(20);
        private JTextField mouseStatusBar = new JTextField(10);
        private JPanel controlPanel = new JPanel(new GridLayout(18, 1, 0, 0));
        JToolBar jToolbar = new JToolBar();
        private Container container;
        private JScrollBar horizantalSlide=new JScrollBar();
        public BufferedImage image;
        BufferedImage bgImage;
    //    public ImageIcon icon=null;
        JFileChooser fileChooser;
        DrawPanel drawPanel = new DrawPanel(bgImage,zoomPercentage);
        public DP() {
            super("WhiteBoard");
            fileChooser = new JFileChooser(".");
            container = getContentPane();
            container.setBackground(Color.white);
            container.setLayout(new BorderLayout());
            container.add(jToolbar,BorderLayout.NORTH);
            container.add(horizantalSlide);
            jToolbar.add(openButton);
            jToolbar.add(closeButton);
              jToolbar.add(zoominButton);
              jToolbar.add(zoomoutButton);
              jToolbar.add(zoomto100Button);
              jToolbar.add(fwwButton);
              jToolbar.add(fwhButton);
              jToolbar.add(fwButton);
            jToolbar.add(clearButton);
            colorStatusBar.setEditable(false);
            opStatusBar.setEditable(false);
            mouseStatusBar.setEditable(false);
            controlPanel.setBackground(Color.white);
            drawPanel.setBackground(Color.white);
            container.add(controlPanel, "West");
            container.add(drawPanel, "Center");
            openButton.addActionListener(this);
            closeButton.addActionListener(this);
              zoominButton.addActionListener(this);
              zoomoutButton.addActionListener(this);
              zoomto100Button.addActionListener(this);
              fwwButton.addActionListener(this);
              fwhButton.addActionListener(this);
              fwButton.addActionListener(this);
            clearButton.addActionListener(this);
            drawPanel.addMouseMotionListener(this);
            drawPanel.addMouseListener(this);
            addMouseListener(this);
            addMouseMotionListener(this);
            opStatusBar.setText("FreeHand");
            colorStatusBar.setText("Black");
        public void actionPerformed(ActionEvent e) {
            if(e.getActionCommand().equals("open"))
                showDialog();
            if(e.getActionCommand().equals("close"))
                closeDialog();
              if(e.getActionCommand().equals("ZoomIn"))
                   drawPanel.zoom(1);
              if(e.getActionCommand().equals("ZoomOut"))
                   drawPanel.zoom(-1);
              if(e.getActionCommand().equals("ZoomTo100"))
                   drawPanel.zoom(+10);
              if(e.getActionCommand().equals("Fit window width"))
                   drawPanel.fitwindowwidth();
              if(e.getActionCommand().equals("Fit window height"))
                   drawPanel.fitwindowheight();
              if(e.getActionCommand().equals("Fit the window"))
                   drawPanel.fitthewindow();
            if (e.getActionCommand() == "Clear")
                opStatus = CLEAR_OP;
            switch (opStatus) {
                case CLEAR_OP:
                    clearPanel();
        private void showDialog() {
            if(fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
                File file = fileChooser.getSelectedFile();
                try {
                    bgImage = ImageIO.read(file);
                } catch(IOException e) {
                    System.out.println("IO error: " + e.getMessage());
                clearPanel();
        private void closeDialog() {
            drawPanel.setVisible(false);
            drawPanel.repaint();
        public void clearPanel() {
            opStatusBar.setText("Clear");
            Graphics g = image.getGraphics();
            g.setColor(drawPanel.getBackground());
            g.fillRect(0, 0, drawPanel.getBounds().width, drawPanel.getBounds().height);
            if(bgImage != null)
                g.drawImage(bgImage, 0, 0, this);
            g.dispose();
            drawPanel.repaint();
        public boolean mouseHasMoved(MouseEvent e) {
            return (mousex != e.getX() || mousey != e.getY());
        public void setActualBoundry() {
            if (mousex < Orx || mousey < Ory) {
                if (mousex < Orx) {
                    OrWidth = Orx - mousex;
                    drawX = Orx - OrWidth;
                } else {
                    drawX = Orx;
                    OrWidth = mousex - Orx;
                if (mousey < Ory) {
                    OrHeight = Ory - mousey;
                    drawY = Ory - OrHeight;
                } else {
                    drawY = Ory;
                    OrHeight = mousey - Ory;
            } else {
                drawX = Orx;
                drawY = Ory;
                OrWidth = mousex - Orx;
                OrHeight = mousey - Ory;
        public void setGraphicalDefaults(MouseEvent e) {
            mousex = e.getX();
            mousey = e.getY();
            prevx = e.getX();
            prevy = e.getY();
            Orx = e.getX();
            Ory = e.getY();
            drawX = e.getX();
            drawY = e.getY();
            OrWidth = 0;
            OrHeight = 0;
        public void mouseDragged(MouseEvent e) {
            updateMouseCoordinates(e);
            switch (opStatus) {}
        public void mouseReleased(MouseEvent e) {
            updateMouseCoordinates(e);
            switch (opStatus) {}
        public void mouseEntered(MouseEvent e) {
            updateMouseCoordinates(e);
        public void updateMouseCoordinates(MouseEvent e) {
            String xCoor = "";
            String yCoor = "";
            if (e.getX() < 0)
                xCoor = "0";
            else {
                xCoor = String.valueOf(e.getX());
            if (e.getY() < 0)
                xCoor = "0";
            else {
                yCoor = String.valueOf(e.getY());
            mouseStatusBar.setText("x:" + xCoor + " y:" + yCoor);
        public void mouseClicked(MouseEvent e) { updateMouseCoordinates(e); }
        public void mouseExited(MouseEvent e) { updateMouseCoordinates(e); }
        public void mouseMoved(MouseEvent e) { updateMouseCoordinates(e); }
        public void mousePressed(MouseEvent e) { updateMouseCoordinates(e); }
        public static void main(String[] args) {
            DP wb = new DP();
            wb.setDefaultCloseOperation(EXIT_ON_CLOSE);
            wb.setSize(1024,740);
            wb.setVisible(true);
        private class DrawPanel extends JPanel {
            private double m_zoom = 1.0;
            private double m_zoomPercentage;
            private BufferedImage m_image;
            double theta = 0;
            double thetaInc = Math.PI/2;
            public DrawPanel(BufferedImage imageb,double zoomPercentage) {
                m_image = imageb;
                m_zoomPercentage = zoomPercentage / 100;
            protected void paintComponent(Graphics g) {
                Graphics2D g2d=(Graphics2D)g;
                if(image == null)
                    initImage();
                g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
                                     RenderingHints.VALUE_INTERPOLATION_BICUBIC);
                double x = (1.0 - m_zoom)*getWidth()/2.0;
                double y = (1.0 - m_zoom)*getHeight()/2.0;
                AffineTransform at = AffineTransform.getTranslateInstance(x, y);
                at.rotate(theta,m_zoom*getWidth()/2,m_zoom*getHeight()/2);
                at.scale(m_zoom, m_zoom);
                g2d.drawRenderedImage(image, at);
      public void zoom(int inc) {
            m_zoom += inc * m_zoomPercentage;
            repaint();
              public void fitwindowwidth()
                int w1=drawPanel.getWidth();
                int h1=drawPanel.getHeight();
                BufferedImage image2=image.getScaledInstance(w1,h1,Image.SCALE_DEFAULT);
                drawPanel.setPreferredSize(new java.awt.Dimension(100,image2.getImage().getHeight(null)));
               drawPanel.repaint();
              public void fitwindowheight()
           BufferedImage image2=image.getScaledInstance(500,680,1); 
           drawPanel.setImage(iicon);
           drawPanel.setPreferredSize(new java.awt.Dimension(100,image2.getImage().getHeight(null)));
           drawPanel.repaint();
              public void fitthewindow()
           BufferedImage image2=image.getScaledInstance(1000,680,1);
           drawPanel.setPreferredSize(new java.awt.Dimension(100,image2.getImage().getHeight(null)));
           drawPanel.repaint();
            private void initImage() {
                int w = getWidth();
                int h = getHeight();
                image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
                Graphics2D g2 = image.createGraphics();
                g2.setPaint(getBackground());
                g2.fillRect(0,0,w,h);
                g2.dispose();
    }

    thank you for giving reply.
    your code is very helpful to us.but i couldn't integrate it in my code.here's my code.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import java.io.File;
    import javax.swing.filechooser.FileFilter;
    import java.awt.geom.*;
    public class IS extends JFrame implements ActionListener,
                                               MouseListener,
                                               MouseMotionListener {
        private final int PEN_OP = 1;
        private final int CLEAR_OP = 2;
         private     final int DISTORT = 3;
        private final int SCALE   = 4;
        private final int FIT     = 5;
        private final int FILL    = 6;
        int scaleMode = SCALE;
        private int radius;
        private int radius1;
        private int mousex = 0;
        private int mousey = 0;
        private int prevx = 0;
        private int prevy = 0;
        private boolean initialFreeHand = true;
        private boolean initialLine = true;
        private boolean initialEraser = true;
        private int Orx = 0;
        private int Ory = 0;
        private int OrWidth = 0;
        private int OrHeight = 0;
        private int drawX = 0;
        private int drawY = 0;
        private int polyX = 0;
        private int polyY = 0;
        private int eraserLength = 5;
        private int udefRedValue = 255;
        private int udefGreenValue = 255;
        private int udefBlueValue = 255;
        private int opStatus = PEN_OP;
        private int colorStatus = 1;
        private double zoomPercentage=10;
        private Color mainColor = new Color(0, 0, 0);
        private Color xorColor = new Color(255, 255, 255);
        private Color userDefinedColor =
            new Color(udefRedValue, udefGreenValue,udefBlueValue);
        private JButton openButton = new JButton("open");
        private JButton closeButton = new JButton("close");
         private JButton zoominButton = new JButton("ZoomIn");
         private JButton zoomoutButton = new JButton("ZoomOut");
         private JButton zoomto100Button = new JButton("ZoomTo100");
         private JButton fwwButton = new JButton("Fit window width");
         private JButton fwhButton = new JButton("Fit window height");
         private JButton fwButton = new JButton("Fit the window");
        private JButton clearButton = new JButton("Clear");
        private JTextField colorStatusBar = new JTextField(20);
        private JTextField opStatusBar = new JTextField(20);
        private JTextField mouseStatusBar = new JTextField(10);
        private JPanel controlPanel = new JPanel(new GridLayout(18, 1, 0, 0));
        JToolBar jToolbar = new JToolBar();
        private Container container;
        private JScrollBar horizantalSlide=new JScrollBar();
        public BufferedImage image;
        BufferedImage bgImage;
    //    public ImageIcon icon=null;
        JFileChooser fileChooser;
        DrawPanel drawPanel = new DrawPanel(bgImage,zoomPercentage);
        public IS() {
            super("WhiteBoard");
            fileChooser = new JFileChooser(".");
            container = getContentPane();
            container.setBackground(Color.white);
            container.setLayout(new BorderLayout());
            container.add(jToolbar,BorderLayout.NORTH);
            container.add(horizantalSlide);
            jToolbar.add(openButton);
            jToolbar.add(closeButton);
              jToolbar.add(zoominButton);
              jToolbar.add(zoomoutButton);
              jToolbar.add(zoomto100Button);
              jToolbar.add(fwwButton);
              jToolbar.add(fwhButton);
              jToolbar.add(fwButton);
            jToolbar.add(clearButton);
            colorStatusBar.setEditable(false);
            opStatusBar.setEditable(false);
            mouseStatusBar.setEditable(false);
            controlPanel.setBackground(Color.white);
            drawPanel.setBackground(Color.white);
            container.add(controlPanel, "West");
            container.add(drawPanel, "Center");
            openButton.addActionListener(this);
            closeButton.addActionListener(this);
              zoominButton.addActionListener(this);
              zoomoutButton.addActionListener(this);
              zoomto100Button.addActionListener(this);
              fwwButton.addActionListener(this);
              fwhButton.addActionListener(this);
              fwButton.addActionListener(this);
            clearButton.addActionListener(this);
            drawPanel.addMouseMotionListener(this);
            drawPanel.addMouseListener(this);
            addMouseListener(this);
            addMouseMotionListener(this);
            opStatusBar.setText("FreeHand");
            colorStatusBar.setText("Black");
        public void actionPerformed(ActionEvent e) {
            if(e.getActionCommand().equals("open"))
                showDialog();
            if(e.getActionCommand().equals("close"))
                closeDialog();
              if(e.getActionCommand().equals("ZoomIn"))
                   drawPanel.zoom(1);
              if(e.getActionCommand().equals("ZoomOut"))
                   drawPanel.zoom(-1);
              if(e.getActionCommand().equals("ZoomTo100"))
                   drawPanel.zoom(+10);
              if(e.getActionCommand().equals("Fit window width"))
                   //drawPanel.fitwindowwidth();
              drawPanel.scaleImage(0,0,0,0);
              if(e.getActionCommand().equals("Fit window height"))
              drawPanel.scaleImage(0,0,0,0);
              if(e.getActionCommand().equals("Fit the window"))
              drawPanel.scaleImage(0,0,0,0);
            if (e.getActionCommand() == "Clear")
                opStatus = CLEAR_OP;
            switch (opStatus) {
                case CLEAR_OP:
                    clearPanel();
        private void showDialog() {
            if(fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
                File file = fileChooser.getSelectedFile();
                try {
                    bgImage = ImageIO.read(file);
                } catch(IOException e) {
                    System.out.println("IO error: " + e.getMessage());
                clearPanel();
        private void closeDialog() {
            drawPanel.setVisible(false);
            drawPanel.repaint();
        public void clearPanel() {
            opStatusBar.setText("Clear");
              int w = image.getWidth();
            int h = image.getHeight();
            Graphics g = image.getGraphics();
            g.setColor(drawPanel.getBackground());
            g.fillRect(0, 0, w, h);
            if(bgImage != null) {
                int x = (w - bgImage.getWidth())/2;
                int y = (h - bgImage.getHeight())/2;
                g.drawImage(bgImage, x, y, this);
            g.dispose();
            drawPanel.repaint();
        public boolean mouseHasMoved(MouseEvent e) {
            return (mousex != e.getX() || mousey != e.getY());
        public void setActualBoundry() {
            if (mousex < Orx || mousey < Ory) {
                if (mousex < Orx) {
                    OrWidth = Orx - mousex;
                    drawX = Orx - OrWidth;
                } else {
                    drawX = Orx;
                    OrWidth = mousex - Orx;
                if (mousey < Ory) {
                    OrHeight = Ory - mousey;
                    drawY = Ory - OrHeight;
                } else {
                    drawY = Ory;
                    OrHeight = mousey - Ory;
            } else {
                drawX = Orx;
                drawY = Ory;
                OrWidth = mousex - Orx;
                OrHeight = mousey - Ory;
        public void setGraphicalDefaults(MouseEvent e) {
            mousex = e.getX();
            mousey = e.getY();
            prevx = e.getX();
            prevy = e.getY();
            Orx = e.getX();
            Ory = e.getY();
            drawX = e.getX();
            drawY = e.getY();
            OrWidth = 0;
            OrHeight = 0;
        public void mouseDragged(MouseEvent e) {
            updateMouseCoordinates(e);
            switch (opStatus) {
        public void mouseReleased(MouseEvent e) {
            updateMouseCoordinates(e);
            switch (opStatus) {}
        public void mouseEntered(MouseEvent e) {
            updateMouseCoordinates(e);
        public void updateMouseCoordinates(MouseEvent e) {
            String xCoor = "";
            String yCoor = "";
            if (e.getX() < 0)
                xCoor = "0";
            else {
                xCoor = String.valueOf(e.getX());
            if (e.getY() < 0)
                xCoor = "0";
            else {
                yCoor = String.valueOf(e.getY());
            mouseStatusBar.setText("x:" + xCoor + " y:" + yCoor);
        public void mouseClicked(MouseEvent e) { updateMouseCoordinates(e); }
        public void mouseExited(MouseEvent e) { updateMouseCoordinates(e); }
        public void mouseMoved(MouseEvent e) { updateMouseCoordinates(e); }
        public void mousePressed(MouseEvent e) { updateMouseCoordinates(e); }
        public static void main(String[] args) {
            IS wb = new IS();
            wb.setDefaultCloseOperation(EXIT_ON_CLOSE);
            wb.setSize(1024,740);
            wb.setVisible(true);
        private class DrawPanel extends JPanel {
            private double m_zoom = 1.0;
            private double m_zoomPercentage;
            private BufferedImage m_image;
            double theta = 0;
            double thetaInc = Math.PI/2;
            public DrawPanel(BufferedImage imageb,double zoomPercentage) {
                m_image = imageb;
                m_zoomPercentage = zoomPercentage / 100;
            protected void paintComponent(Graphics g) {
                   super.paintComponent(g);
                Graphics2D g2d=(Graphics2D)g;
                if(image == null)
                    initImage();
                g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
                                     RenderingHints.VALUE_INTERPOLATION_BICUBIC);
                              int w = getWidth();
                    int h = getHeight();
                  int iw = image.getWidth();
                  int ih = image.getHeight();
                  if(scaleMode == SCALE) {
                double x = (w - m_zoom*iw)/2;
                double y = (h - m_zoom*ih)/2;
                AffineTransform at = AffineTransform.getTranslateInstance(x, y);
                at.rotate(theta,m_zoom*getWidth()/2,m_zoom*getHeight()/2);
                at.scale(m_zoom, m_zoom);
                g2d.drawRenderedImage(image, at);
                   else {
                scaleImage(w, h, iw, ih);
              private void scaleImage( int w, int h, int iw, int ih) {
                             Graphics2D g2d = image.createGraphics();
            double xScale = (double)w/iw;
            double yScale = (double)h/ih;
            AffineTransform at = new AffineTransform();
            if(scaleMode == DISTORT) {
                double x = (w - xScale*iw)/2;
                double y = (h - yScale*ih)/2;
                at.setToTranslation(x, y);
                at.scale(xScale, yScale);
            } else {
                double scale = (scaleMode == FIT) ? Math.min(xScale, yScale)
                                                  : Math.max(xScale, yScale);
                double x = (w - scale*iw)/2;
                double y = (h - scale*ih)/2;
                at.setToTranslation(x, y);
                at.scale(scale, scale);
            g2d.drawRenderedImage(image, at);
      public void zoom(int inc) {
            m_zoom += inc * m_zoomPercentage;
            repaint();
            private void initImage() {
                int w = getWidth();
                int h = getHeight();
                image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
                Graphics2D g2 = image.createGraphics();
                g2.setPaint(getBackground());
                g2.fillRect(0,0,w,h);
                g2.dispose();
    }

  • Insatlling Oracle 8i on Window 2000,Window me

    Can Oracle 8i be install on Window 2000 or window millenium( window me). I tried to install Oracle8i on Window me and got the following errors:
    There was a problem in accessing the staging area.Please make sure the specified values for 'source' and 'Destination' are valid.
    Can anybody help me out.
    Thanks
    Dayo Afon
    null

    Dayo,
    I hpe you are not trying to install Oracle 8i enterprise edition on Windows Me. Remember Windows Me is just a glorified senior brother of Windows 98 SE, and of course ORA 8i ED will NOT install in this environment for obvious reasons. However it will install on Windows 2000 PE and Adv. Server (both based on WinNT WS and Server respectively).
    My guess and suggestion is that you should try to install Oracle 8i Lite on Windows ME and trust the installation should go without any problem.

  • BDB support for Windows Vista, WIndows 7 and Windows Server?

    Hello,
    I examine to use BDB on Windows, and I have a question.
    There's a description about supported OSs on the BDB reference guide as follows;
    Where does Berkeley DB run?
    The Berkeley DB distribution includes support for Windows/95, Windows/98, Windows/NT, Windows/2000 and Windows/XP, via the Microsoft Visual C++ 6.0 and .NET development environments.
    Does BDB distribution supports for Windows Vista and Windows Server 2003?
    And it will support Windows Server 2008 and Windows 7?
    I believe that BDB does not depend on specific function of Windows, thus there's no problem to support them...
    Regards,
    Akira

    Yes, we have a plan about BDB support for Windows Vista, Windows 7 and Windows Server. Once we are ready, we'll let you know here.
    Hi Vit,
    For Berkeley DB XML questions, please go to the Berkeley DB XML forum at: Berkeley DB XML
    By the way, I learnt there's a XP-compatible mode in Windows 7. You may want to try DB-XML with that.
    Best regards,
    Chao Huang
    Oracle Berkeley DB

  • Acrobat 9.5 pro keeps opening Windows installation window when clicked on icon.

    Opens normally PDF documents. And the fix is ...?

    Hi Ajlan,
    OK, it's odd, Acrobat launches normally only from its folder.
    Any new shortcut created either on Start or Task bar opens Windows
    installation window but the one on Desktop is OK.
    Unfortunately I don't use Desktop shortcuts.
    Windows 7 Pro SP1 64 bit
    Regards,
    Marek Solarz

Maybe you are looking for

  • Itunes closes itself without updating my ipod.

    It started happening yesterday, its never happened before, and as far as i know, i'm the only person its happened to. whenever i connect my ipod to my computer, it waits about 30 seconds doing nothing and then a window pops up that says "itunes has e

  • Sap script creation for SO & PO

    external subroutine creation for displaying Sales Order & Purchase Order scheduling details in the SAP script.

  • Incorrect Aperture listed in both Overview and Specs of the Canon EOS 7D at BB

    Hi all, I'm going to be buying this camera, so I was looking things over pretty closely.  I know that larger aperture lenses are generally more expensive and so was surprised that the cost difference for a body only 7D and a body with lens7D was only

  • How can i skin a 3d model?

    I realise this maybe an obvious question but I have a full wrap around skin for a 3d box model, and I was just wondering how I apply the skin to the model? Many thanks

  • Minimum skill set for abap

    i know only reporting(classicalreporting, interactive reporting and procedurel ALV reporting). is this skill set enough to get job as a ABAP programmer? if no, then what is the minimum skill set to get job in abap?