Setting up RAID - "create" button dimmed

Our school has just taken delivery of a brand new 2.8GHz Xeon XServer, with two internal 80Gb SAS hard drives. The first drive has been freshly re-installed from the Mac OS X Server installation DVD and Software Update was then used to update everything. The current OS is 10.5.6. We will be using external hard drives for data storage once it is actually running as a server.
When using Disk Utility to set up RAID on the second internal drive (to mirror the first drive), we have hit a brick wall. After following the instructions explicitly (with quite a few attempts at trying different ideas - variations on the general theme - to see if it can be persuaded to work) the "create" button stubbornly remains dimmed.
We initially started from the boot drive (the first internal hard drive) and running Disk Utility from there. We also tried starting from the installation DVD in case that worked. Same thing - the "create" button is still dimmed!
Have we missed something? Could it be a hardware problem? Has anyone else had the same problem and solved it? I am open to any suggestions and ideas.

+< I'm assuming you don't have the RAID Card installed? In which case I'm guessing you're simply trying to use Disk Utility's built-in RAID option?+
>
Yes, we don't have the RAID Card installed and we are trying to use Disk Utility's built-in RAID option.
+< Boot from the Installer Disk, launch Disk Utility, select the Drive not the partition, click on RAID and drag both the drives one after the other into the window. Supply a suitable name. Select the RAID type you want. Click on the 'Options' button and enable the 'Automatically rebuild RAID sets' option. Create should become active now. >+
This sounds like both the RAID drive and the original drive are classed as being part of the "RAID set". Even after much searching, I could not find any clear information as to what comprised the RAID set, whether it was just the "backup" drive or both it and the "original". Often the information and instructions assume prior knowledge and/or experience. It's always pleasing to find instructions which are completely self-explanatory, cover any necessary preliminary steps, and need no further cross-referencing by the user.
+< Before you do any of this make sure you've a back up of anything of value on either drive. Creating a RAID set deletes data on all drives. >+
We will obviously have to re-install everything on the first drive. The "Getting Started.pdf" document which is on the Server Installation DVD does contain the following - You can set up RAID mirroring after installing Mac OS X Server if you install on a disk that isn’t partitioned - in Appendix A, under Creating a RAID Set. This probably set us thinking that it didn't necessarily need to be done BEFORE installing the OS, etc. on the first drive.
Thanks for your help, Tony. If you don't hear any more from me, assume that it worked.

Similar Messages

  • "Create" button dim when attempting to setup mirrored RAID in Disk Utility.

    I'm trying to setup a mirrored RAID in Disk Utility (v10.5.6) in MacOS 10.4.11 on a PowerMac G5. I've got the System and all of my files on a 500 GB Seagate internal drive and I've added a blank 500 GB Western Digital internal drive to be the mirror. When I boot from the Seagate drive and run Disk Utility, I can follow all of the instructions for setting up a mirrored RAID (except the last instruction):
    1) Launch disk utility.
    2) Select my boot drive.
    3) Click on the RAID tab.
    4) Enter a RAID Set Name and select a Volume Format (Mac OS Extended Journaled).
    5) Drag a drive or volume to the set. Okay, I actually have a problem here, because if I drag the boot volume or drive to the set, nothing happens (it doesn't appear in the selection box). So I drag the blank volume to the set and it shows up in the selection box.
    6) Select RAID type (RAID Slice).
    7) Click the "Create" button.
    That's the step that I can't complete; the "Create" button is dimmed (grayed out, disabled). My boot drive isn't partitioned (it has just one volume), I've run Disk Utility to repair Disk Permissions before I attempted to set up the RAID, and both drives are formatted as "Mac OS Extended Journaled." The only potential cause I can think of is that the two drives I'm using, though they're both 500 GB drives, are from different manufacturers. I can't imagine that would make a difference though.
    Why is the "Create" button dimmed?
    Any help would be GREATLY appreciated!
    Thanks,
    Scott

    Hi there,
    Thanks for your help!
    Your explanation makes sense. I've just recovered from a hard drive failure and although I'd backed up most of the files the night before, I still lost a day's worth of email and several days worth of other files. Mirroring appealed to me because then I'd always have a completely up-to-date copy of everything, but your bad experiences with it give me pause.
    Is there another backup strategy you can recommend that would give me really up-to-date backups of my entire boot volume?
    Thanks again!
    Scott

  • How to set a date field to sysdate when clicking on create button ?

    Hello , when the user clicks on the create button , he should see 'sysdate' by default on the date from field .. When do I add such a validation please ?
    I tried adding a business rule on the entity object and set the expression as 'adf.currentdate' but it didn't work .
    Any help please ? Thanks.

    See
    Dare to Code...: current date time groovy for ADF

  • Creating buttons on the fly and setting button properties

    If I have a view and want to add buttons to it "on the fly" from values in an array, is that something straightforward to do?
    I have an array of UIImageVIew objects and would like to create buttons from them (showing the image on the buttons) and associate those buttons with a method in my implementation file. That would be a lot more general and flexible than creating the buttons in the Interface Builder I would imagine.
    And one more question - can I freely set button properties while doing that? Or in Objective-C can I only set properties that are already pre-defined for that class?
    Thanks!
    doug

    Thanks for your reply.
    That.... works! Thanks!
    And I can generate the button and click on it and it calls my other method and that works too. Cool!
    The syntax is still very mysterious to me, but I suppose eventually I'll understand what it all means.
    Breaking it down to see what it means:
    [button1 addTarget:self action:@selector(selectedHandler1:) forControlEvents:UIControlEventTouchUpInside];
    * button1 is the object I created (I'm going to try to do this in a loop next.)
    * addTarget is a message I am sending to button1 and the content of the message is "self", which refers to - this button? I'm not sure why such a message would be necessary.
    * action is another message sent to button1 and the contents of that message are a little harder to parse. I see the result, and can mimic the syntax now that I've seen it, but I don't really understand what the @ is for, or the : after the method name or why this wouldn't just be "action: selectedHandler". I'm sure the language designers have a logical reason for all that, but I don't quite "grok" those extra symbols yet.
    * forControlEvents is another message sent to button1 and the event message itself is clear in its meaning.
    Anyway, that is working and I can refer more to the UIButton class reference now and try to set more stuff, like position it better, etc.
    Thanks very much!
    doug

  • How do I edit the toolbars (not tool set)? for example remove the open and create button.

    how do I edit the toolbars? for example remove the open and create button. with the customize feature I can only find a way to edit the tool set, but I want to edit and rearrange the whole toolbars, that I have only the features needed on one row, instead of the default two rows.
    Thanks for your help
    Andy

    -> [[Uninstalling add-ons]]
    * http://kb.mozillazine.org/Uninstalling_add-ons
    -> [[Cannot uninstall an add-on]]
    -> Uninstalling Toolbars
    * http://kb.mozillazine.org/Uninstalling_toolbars
    Check and tell if its working.

  • To Disable 'CREATE' button

    Hi i have a requirement like to disable one CREATE Button(Creating of Business Partner IS-FS-CM) which is in standard ALV report.I can eliminate that button from PF status of that screen but we are not supposed to change the existing code.But that screen is BDT implemented.
    Can you please help out me how to disable that button w/o changing the standard SAP code

    Hi Krishna,
    For example say your PF sataus name is 'STATUS-100' and function code for create is 'CREATE'.
    then in your part of code use the following syntax,
    SET PF-STATUS 'STATUS-100'  EXCLUDING 'CREATE'.
    I hope this will help you.
    Regards,
    Manoj Kumar P

  • Advice on RAID Sets, Volume Sets, and RAID Levels of the Volume Sets using an Areca Controller

    I have read through a lot of information on disk usage, storage rules for an editing rig, users inquiries/member responses in this forum and I thank each and every one of you – especially Harm.
    In building my new workstation, I purchased five (5) WD 1T, 7k, 64M SATAIII hard drives and an Areca RAID card, ARC-1880ix-16-4G, which I plan to use primarily as my media/data disk array.  The workstation will use a 128GB SATAIII SSD as the OS/program drive and I will transfer two (2) WD Raptor/10k SATA 70GB drives from my current system for pagefile/scratch/render use.  I tentatively plan on using a mobo SATAIII port for the SSD and mobo SATA ports with a software RAID (level 0) for the 10k Raptors.
    In reading the Areca Instruction manual, I am now considering exactly how I should configure the 5 physical 1TB drives in terms of RAID Level(s), Volume Sets, and RAID Sets.  I must admit that I like the opportunity of allowing for a Dedicated Hot Spare as I am generally distrustful of the MTBF data that drive vendors tout and have the bad experience in the past of losing data from a mal-configured RAID array and a single drive hardware failure (admittedly, my fault!).
    In line with the logic that one doesn’t want to perform disk reading while trying to write at the same time (or vice-versa), I am thinking the approach above should work OK in using the mobo disk interface and both software and external hardware RAID controllers without having to create separate RAID level configurations within a Volume Set or further dividing up the physical drives into separate RAID sets.  I know in forum messages that Harm noted that he had 17 drives and I could envision a benefit to having separate RAID sets in that situation, but I am not at that point yet. 
    To some degree I think it might be best to just create one RAID Level on one Volume Set on one RAID Set, but want to solicit thoughts from veteran controller users on their workflows/thoughts in these regards.
    Anyone care to share thoughts/perspectives?  Thanks
    Bill

    Thanks for the speedy feedback Harm - I appreciate it.
    I was thinking RAID level 3 as well.
    Of course, it's always something!   I purchased the Caviar Blacks by mistake - which are non-TLER.   I will work with EggHead to return the ones I purchased and replace them with RE4 versions  as I'm not thrilled about the possibility of the controller declaring the volume/disks degraded unnecessarily and although I have the DOS utility WDTLER where one is supposed to be able to enable/disable TLER on WD drives  - I suspect WD is way beyond that now anyway with current builds.
    I agree with you about just testing the performance of the options for the raptors - on the mobo and then on the controller.  When I benchmark them I'll post the results in case others are curious.
    Thanks again....off to EggHead!

  • For loop and xml - how to point the right content in a XML file with a dynamically created button?

    Hi Everybody,
    as my first experience in AS3 I'm bulding a photo multigallery. In that gallery I have some buttons, each one pointing to its respective set of images.
    Each button is created with the for loop, that picks the information from a XML file. From this XML I get the text of the button, the position etc. What I did with some sucess. But there is a scary problem: I don't know how to make each button load the respective and unique set of images.
    I've tryied several different methods, with no effect, to make each loop to give to each button an unique identity to load the respective set of images.
    I imagine that the solution pass by the use of arrays. I wrote some code, and I guess that I'm almost there (but not sure). Here is my AS3 code until now:
    // CREATE MENU CONTAINER //
    var menuContainer:MovieClip = new MovieClip();
    menuContainer.x=10;
    menuContainer.y=300;
    addChild(menuContainer);
    // CREATE IMAGES CONTAINER //
    var imagesContainer:MovieClip = new MovieClip();
    imagesContainer.x=10;
    imagesContainer.y=10;
    addChild(imagesContainer);
    //// LOAD XML ////
    var xmlLoader:URLLoader = new URLLoader();
    xmlLoader.addEventListener(Event.COMPLETE, whenLoaded);
    xmlLoader.load(new URLRequest("XML/roiaXML.xml"));
    var xml:XML;
    function whenLoaded(evt:Event):void {
         xml=new XML(evt.target.data);
         var mySetsList:XMLList=xml.children();
         //// MENU BUTTONS ////
         // CREATE ARRAYS //
         var totalArray:Array = new Array();
         var setNodesArray:Array = new Array();
         var setNamesArray:Array = new Array();
         // POSITIONING BUTTONS INSIDE MENU CONTAINER//
         var rowsQuantity:Number=3;
         var columnsQuantity:Number=Math.ceil(mySetsList.length()/rowsQuantity);
         var cellWidth:Number=160;
         // CREATE BUTTONS //
         for (var i:int=0; i< mySetsList.length(); i++) {
              var newSetButtonMC:setButtonMC=new setButtonMC();
              //what do I do here to make it works? To give each button created a unique id.
              setNodesArray.push(i);
              //trace(setNodesArray);
              var imageNodesArray:Array = new Array();
              for (var j:int=0; j<mySetsList[i].IMAGE.length(); j++) {
                   imageNodesArray.push(mySetsList[i].IMAGE[j].attribute("imageTitle"));
              totalArray.push(imageNodesArray);
              newSetButtonMC.setButtonText.text=mySetsList.attribute("galeriaTitle")[i];
              newSetButtonMC.setButtonText.autoSize=TextFieldAutoSize.LEFT;
              var cellX:Number=Math.floor(i/rowsQuantity);
              var cellY:Number=i%rowsQuantity;
              newSetButtonMC.x=cellX*cellWidth;
              newSetButtonMC.y=cellY*(newSetButtonMC.height+10);
              newSetButtonMC.addEventListener(MouseEvent.CLICK, onClick);
              menuContainer.addChild(newSetButtonMC);
         totalArray.push(setNodesArray);
         //// MENU BUTTONS ACTIONS ////
         function onClick(mevt:MouseEvent):void {
              trace(totalArray [0][0]);
              trace(totalArray [0][0]);
              // in the line above I achieved some success loading a specific info from XML.
              // but I don't know what to do with it.
              //what do I do here? To make each button to load its own node from XML.
    Here is my XML:
    <GALERIA galeriaTitle="galeria 01">
      <IMAGE imageTitle="imageTitle01">feio.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle02">muitofeio.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle03">aindamaisfeio.jpg</IMAGE>
    </GALERIA>
    <GALERIA galeriaTitle="galeria 02">
      <IMAGE imageTitle="imageTitle01">estranho.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle02">maisestranho.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle03">aindamaisestranho.jpg</IMAGE>
    </GALERIA>
    Thanks everyone . ABSTRATO

    you can assign each newSetButtonMC and ivar property that points to its i value or, even easier:
    // CREATE MENU CONTAINER //
    var menuContainer:MovieClip = new MovieClip();
    menuContainer.x=10;
    menuContainer.y=300;
    addChild(menuContainer);
    // CREATE IMAGES CONTAINER //
    var imagesContainer:MovieClip = new MovieClip();
    imagesContainer.x=10;
    imagesContainer.y=10;
    addChild(imagesContainer);
    //// LOAD XML ////
    var xmlLoader:URLLoader = new URLLoader();
    xmlLoader.addEventListener(Event.COMPLETE, whenLoaded);
    xmlLoader.load(new URLRequest("XML/roiaXML.xml"));
    var xml:XML;
    function whenLoaded(evt:Event):void {
         xml=new XML(evt.target.data);
         var mySetsList:XMLList=xml.children();
         //// MENU BUTTONS ////
         // CREATE ARRAYS //
         var totalArray:Array = new Array();
         var setNodesArray:Array = new Array();
         var setNamesArray:Array = new Array();
         // POSITIONING BUTTONS INSIDE MENU CONTAINER//
         var rowsQuantity:Number=3;
         var columnsQuantity:Number=Math.ceil(mySetsList.length()/rowsQuantity);
         var cellWidth:Number=160;
         // CREATE BUTTONS //
         for (var i:int=0; i< mySetsList.length(); i++) {
              var newSetButtonMC:setButtonMC=new setButtonMC();
              //what do I do here to make it works? To give each button created a unique id.
              setNodesArray.push(i);
              //trace(setNodesArray);
              var imageNodesArray:Array = new Array();
              for (var j:int=0; j<mySetsList[i].IMAGE.length(); j++) {
                   imageNodesArray.push(mySetsList[i].IMAGE[j].attribute("imageTitle"));
             nextSetButtonMC.imageArray = imageNodesArray;
              //totalArray.push(imageNodesArray);
              newSetButtonMC.setButtonText.text=mySetsList.attribute("galeriaTitle")[i];
              newSetButtonMC.setButtonText.autoSize=TextFieldAutoSize.LEFT;
              var cellX:Number=Math.floor(i/rowsQuantity);
              var cellY:Number=i%rowsQuantity;
              newSetButtonMC.x=cellX*cellWidth;
              newSetButtonMC.y=cellY*(newSetButtonMC.height+10);
              newSetButtonMC.addEventListener(MouseEvent.CLICK, onClick);
              menuContainer.addChild(newSetButtonMC);
         totalArray.push(setNodesArray);
         //// MENU BUTTONS ACTIONS ////
         function onClick(mevt:MouseEvent):void {
              var mc:setButtonMC=setButtonMC(mevt.currentTarget);
    for(i=0;i<mc.imageArray.length;i++){
    trace(mc.imageArray[i]);
    Here is my XML:
    <GALERIA galeriaTitle="galeria 01">
      <IMAGE imageTitle="imageTitle01">feio.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle02">muitofeio.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle03">aindamaisfeio.jpg</IMAGE>
    </GALERIA>
    <GALERIA galeriaTitle="galeria 02">
      <IMAGE imageTitle="imageTitle01">estranho.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle02">maisestranho.jpg</IMAGE>
      <IMAGE imageTitle="imageTitle03">aindamaisestranho.jpg</IMAGE>
    </GALERIA>
    Thanks everyone . ABSTRATO

  • Create Button  in Abap Program

    Hi anybody,
      I want to use click event button inside abap programe.
    how to use click events of button.
    anybody tell me.
    thanks
    s.muthu

    hiii
    use following code.it will create button
    START-OF-SELECTION.
      SET PF-STATUS 'STATUS'.
      PERFORM get_data_kna1.
    END-OF-SELECTION.
    Now write following code for performing task on clicking that button.
    CASE sy-ucomm.
      WHEN 'CUSTOMER'.
       SELECT SINGLE kunnr
          FROM kna1
          INTO w_kna1
          WHERE kunnr = w_kunnr.
          IF sy-subrc <> 0.
             MESSAGE e015(zmsg9).
           ENDIF.
    WHEN 'ORDER'.
               SELECT SINGLE vbeln
          FROM vbak
          INTO w_vbak
          WHERE vbeln = w_vbeln.
          IF sy-subrc <> 0.
           MESSAGE e015(zmsg9).
          ENDIF.
      ENDCASE.
    reward if useful
    thx
    twinkal

  • Scroll bars & creating buttons problem

    I am trying to create a basic photo browser. The upper area is the enlarged view of the image. The lower portion is a scrollable view of the thumbnails in the directory chosen. I have most of it working...except that the scrollable view doesn't scroll, and the buttons that I created don't cause the image to show up in the main view port.
    There is the main window, divided into two parts: upper and lower. The upper part is the main view, as described above. The lower part is a panel. That lower panel contains two things, another panel and a button. This panel inside the lower section contains the scrollable window; this scrollable window is a viewport onto another panel that contains the dynamically created buttons (which are thumbnails of the images in the directory).
    I was trying to force the scrollbar policy to always show the horizontal bar (that is the only one I want visible) but that wasn't working either; I would get compiler errors when that was included. I have tried adjusting sizes of things, and the order that things are added to the main JFrame.
    Any suggestions would be appreciated.
    Here is the code:
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.File;
    import java.io.FileFilter;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JFileChooser;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.ScrollPaneConstants;
    import javax.swing.border.EtchedBorder;
    import javax.swing.filechooser.FileNameExtensionFilter;
    * PhotoGUI Browse
    * Description:  Generate a GUI interface for viewing a large view of an image and previews of thumbnails
    * in a directory.  There are two parts to the GUI:  large upper section for main viewing, and a short lower
    * section for viewing the thumbnail previews.  The lower section is also split into two parts:  the left part
    * is a scrollable pane where the thumbnails will be previewed, and then a small section to the right where
    * a button for changing directories will be present.  (I wanted the button to always be visible so didn't
    * put it in the scrollable area.)
    public class PhotoGUI extends JFrame {
         final int SIZE = 75;     //scaling size for images in thumbnail browser
         boolean firstRunThrough = true;               //Changes behavior of directory requester
         private JPanel thumbs;
         private JPanel pickNThumbs;
         private ImagePanel bigView ;
         private JScrollPane scroller;
         private JButton pickDirButton;
         private thumbSelectedListener thumbPicksNose;
         public PhotoGUI () {
              this.setDefaultCloseOperation (EXIT_ON_CLOSE);
              this.setSize(600,600);       //Starting size of the overall container.
              this.setTitle("Eye Photo photo browser");
              //The upper portion of the GUI, where the large view of the image will be held
              bigView = new ImagePanel();       
              //bigView.setSize (600,500);
              //The bottom section of the GUI; will hold the thumbnail previews
              //(in a scrollable panel) and a button for changing directories.
              pickNThumbs = new JPanel();             
              pickNThumbs.setBackground(Color.WHITE);
              pickNThumbs.setSize(600,100);
              pickDirButton = new JButton("Pick directory...");
              //pickDirButton.setSize(75,150);
              dirPickListener dirButton = new dirPickListener ();
              pickDirButton.addActionListener(dirButton);
              thumbs = new JPanel();              //The panel that will hold the thumbnail previews
              scroller = new JScrollPane(thumbs);       //Setting the scroll bar pane to view the thumbnail panel
              //scroller.setVerticalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
              //scroller.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
              // scroller.setSize(525,100);          
              scroller.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED));
              pickNThumbs.add(scroller);
              pickNThumbs.add(pickDirButton);
              this.add(bigView);
              this.add(pickNThumbs, BorderLayout.SOUTH);
              String pickedDir = pickDir();               //Setting up the while loop so it will keep requesting
              if (pickedDir.equals("-1")) {
                   if (firstRunThrough)   System.exit(0);          //End program if they don't pick a dir the first time through.
              }else {
                   thumbsUp(pickedDir);                  //They picked good Dir; populate thumbnails
                   firstRunThrough = false;
         public String pickDir () {          
              // This is the file chooser method. 
              JFileChooser dirPicker = new JFileChooser();
              dirPicker.setDialogTitle("Pick a directory");
              dirPicker.setApproveButtonText("Open directory");
              dirPicker.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
              int x = dirPicker.showOpenDialog(getParent());   //maybe I don't need this?
              if (x == JFileChooser.APPROVE_OPTION) {
                   return dirPicker.getSelectedFile().getAbsolutePath();
              } else return "-1";              //Just to cover all possible conditions
         public void thumbsUp (String chosenDir) {
              // Thumb populater method.  It adds each thumb-button to the scroller panel
              thumbs.removeAll();         //Need to remove old directory's buttons
              File selectedDir = new File(chosenDir);
             FileNameExtensionFilter filter = new FileNameExtensionFilter("JPG/GIF/BMP/PNG Images", "bmp", "jpg", "jpeg", "gif", "png");
              File [] dirEntries = selectedDir.listFiles();
              for (File tempFile : dirEntries) {    
                   if (filter.accept(tempFile) && tempFile.isFile()) {       //That way I only get certain types
                        JButton howToNameMultipleButtons = new JButton();
                        howToNameMultipleButtons.setActionCommand(tempFile.getAbsolutePath());
    //                    System.out.println(tempFile.getAbsolutePath());
    //                    System.out.println(howToNameMultipleButtons.getActionCommand());
                        howToNameMultipleButtons.setIcon(new ScaledIcon(tempFile.getAbsolutePath(), SIZE));
                        howToNameMultipleButtons.addActionListener(thumbPicksNose);
                        thumbs.add(howToNameMultipleButtons);
              this.setVisible(true);   //Down here so first run through program opens Dialog before showing
         public class dirPickListener implements ActionListener {
              public void actionPerformed (ActionEvent ae) {
                   thumbsUp(pickDir());     //Opens Dir selection dialog and feeds the thumbnail populater
         public class thumbSelectedListener implements ActionListener {
              public void actionPerformed (ActionEvent ae) {
                   String thumbPicked = ae.getActionCommand();    //Should return path string of thumbButton clicked
                   // System.out.println(ae.getActionCommand());    //TSing step; to see if this bit even fires off.
                   bigView.setImage(thumbPicked);
                   bigView.setToolTipText(thumbPicked);
                   //  bigView.setBackground(Color.GREEN);
    }

    Ah! I got some of it figured out at least...
    Setting the preferred size parameter has caused the scroll bars to display! :) Thanks for the hint on that.
    But I get an error when I try and use the scrollbar policy settings. Here are the results:
    Exception in thread "main" java.lang.IllegalArgumentException: invalid verticalScrollBarPolicy
         at javax.swing.JScrollPane.setVerticalScrollBarPolicy(Unknown Source)
         at javax.swing.JScrollPane.<init>(Unknown Source)
         at PhotoGUI.<init>(PhotoGUI.java:70)
         at PhotoBrowser.main(PhotoBrowser.java:15)And the code I used:
    scroller = new JScrollPane(thumbs,
                        ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS,
                        ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);       //Setting the scroll bar pane to view the thumbnail panel
              Edited by: Mole_Hunter on Feb 1, 2010 9:57 AM

  • Setting up raid

    I am afraid I have come to a dead end! I have read the manual and the excellent guide in this forum. But I am stuck! I am trying to set up a raid 0 array .
    The system I have is
    865PE Neo2 FIS2R
    Intel P4 3.2Ghz 800FSB
    2 x 120Gb Western Digital SATA HDD
    1 x 512Mb Kingston Memory
    1 x Floppy
    1 x Sony CDRW
    1 x 64Mb Graphics
    I have not got windows installed yet - both HDD are new and blank. I have them both connected via sata cables to  SATA3 & SATA4. In BIOS I can see both HD on IDE 3 and 4, I can see the floppy and CD drives. In integrated peripherals I have integrated peripherals set as follows:
    Native mode
    sata only
    sata active = yes
    pata active = yes
    pata channel selection - both
    Configure sata as Raid 0 = No????? - is this correct?? – I have tried this as yes with the same results.
    Onboard promise IDE is set a Raid
    I save and reboot - using the control F keys does nothing. I can't enter Promise BIOS - what I get is the message flashing by ''no disc attached to fasttrack controller. The Bios is not installed.
    Boot failure insert boot diskette in drive A press any key to continue
    It is obviously trying to boot from the floppy - Control F does nothing. I expected to get a screen taking me into Promise set up. Do I have to install Windows XP first and then use the MSI cd to install raid drivers. Sorry if I sound dim but neither the MSI raid manual or the forum guide make this clear for me 

    Sata 1&2 = intel controler
    Sata 3&4 = promise controller
    someone didnot read the manual OR guide.       

  • Report to Mintenance CREATE Button

    We created the tutural application where a Report TAB(P1) is linked to the maintenance Page(P2). When this is done the "ID" is passed from the report page to the maintence page. The CREATE button disapears because the pages are linked and there is a CREATE BUTTON test to see if the ID is set. If we Click on the Minatence TAB one of two things happens.
    A) if the is the first time using the application in the session then we get an Error as the P2_ID is not set.
    B) the last ID used will be displayed.
    How can we change the application so the when the mainence TAB is press it Clears the ID and runs with a CREATE Button, but if navigated from the report page if shows the row to be changed?

    if your tabs are Parent Tabs, you could easily set the URL target of your tab to clear the cache for page 2. you'd do that from your Edit Parent Tab screen. you can't do that with a standard tab, though, so you might want to consider clearing your cache on page 2 in an HTML DB process that fires after your current last process on that page. this way your value for P2_ID is consistently cleared after users leave that page. when a user comes back into that page w/o providing a P2_ID value, your create buttons and such should show.
    hope this helps,
    raj
    [Edited by: rmattama on Dec 22, 2003 9:28 AM]
    i wanted to post this part of my answer originally, but i wasn't sure about a specific point. anyhow:
    as a third option, you can consider using the value of :REQUEST to conditionally fire a process or computation that clears P2_ID. if you pay attention to the way your tabs are working, you'll see that clicking on them either submits your current page to then branch to the next or that they're simply links to your other pages. if your current page has no form fields on it, then html db implements your tabs as the simple links to their associated pages. if the current page does have form fields on it, you'll notice that clicking a standard tab submits the page with the value of :REQUEST being equal to the name of the tab. it's that value of :REQUEST that you can use to conditionally fire a process or computation to clear P2_ID. a conditionally fired after_submit computation on page 1 would do it, for instance.
    hope this helps, too,
    raj

  • Futureproof and dynamically created button

    I have been looking solution how to make buttons dynamically so that I can fetch dynamically values for buttons:
    - value,onclick,class,type,request
    This excellent page has very closely what I am looking: http://www.laureston.ca/2012/04/20/simple-workflow-implementation-in-apex/
    but I have challenges getting the escaped special characters to work especially for the apex.submit - part.
    Maybe that is just because 'copy-pasting' the plsql-region code from www-page didn't work out of the box
    Application Express 4.2.3.00.08
    Because dealing with the escape chars make the page easily break and there are now the new dynamic actions, I need to check what would be futureproof way of dynamically creating the buttons.
    If this is anyway the most practical way to proceed, then where I should look for further information about htp.p(....) button creation examples with rich escapes?
    Made small test page, where you can see one of my trials trying to get the escapes right.
    user test
    pass test
    http://apex.oracle.com/pls/apex/f?p=1403:2
    rgrds paavo
    --below the code for dynamic plsql region -- very likely the escape chars are not copypasted and shown correctly:
    DECLARE
    --PL/SQL Dynamic Region
    --thisworks too??
      v_showme varchar2(3000);
    BEGIN
      for c in (select sysdate||'asdasd;asdasas'  as button_label
                , 'PIMREQUEST'  as button_request
                , 'button-gray' as button_class
                , 'button'      as button_type
                , 'P38_XPIMPOM' as button_setme
                , 'JUUSTOA'     as button_setme_value
                from dual) loop
    htp.p('<button value='''||c.button_label||''' onclick=\"apex.submit('''||c.button_request||''');'' class='''||c.button_class||''' type='''||c.button_type||'''>
    <span>'||c.button_label||'</span>
    </button>');
      end loop;
    END;

    Hi Paavo,
    Your right about the button_id. It's value comes from an input parameter. The button won't show up in the "When button pressed"-list_of_values. This is not only because you write the id yourself, but more because the entire button is created on the fly. The button isn't stored internal in an apex table, that's why it won't show up in a list of values.
    If you want to trigger a dynamic action with the button, you can use a jQuery selector as triggering element. Here you can refer to the button_id using the '#' as jQuery marker for ID, e.g. '#myButton'.
    What the button that you render does, depends on what you put in the p_link parameter. A normal save button would submit the page with condition 'SAVE', you can do that by setting p_link to 'apex.submit("SAVE")'. If the button should do a page redirect, you set p_link to 'http://www.page2go.com', or whatever url you wish to redirect to.
    The text you put in the button attributes is added as HTML element definition, so if you set p_attrs to 'alt="alternate text"', that will be added to the html of your button.
    An example for a conditional button call could be:
          if p_order_id is null
          then
            create_button
              ( p_id        => 'newOrder'
              , p_link    => 'javascript:apex.submit("CREATE"');'
              , p_label     => 'New Order'
              , p_css       => 'customButton'
          else
            create_button
              ( p_id        => 'updateOrder'
              , p_link    => 'javascript:apex.submit("SAVE"');'
              , p_label     => 'Update Order'
              , p_css       => 'customButton'
          end if;     
    This would create a 'CREATE' button for a new order (p_order_id is null), or a 'SAVE' button for an existing order.
    Regarding your ps: if you mean can you conditionaly create a button using dynamic actions? Then the answer would be yes. Yes you can use the create_button procedure in a dynamic action, however by writing it as stored procedure in the database, or in a database package, you can easily reuse your code and still have only one version of your procedure that you need to maintain.
    Regards,
    Vincent
    http://vincentdeelen.blogspot.com

  • Create buttons in the workbook?

    Hello Experts,
    Any information on how to create buttons to point to workbooks. These bottons correspond to different WorkBooks (not worksheets within workbook )
    button1: WorkBook1
    button2 : WorkBook2.
    Thanks,
    Sweatha

    Hi Sweatha,
    Are the workbooks already open?
    Are the workbooks stored on a local PC or LAN drive (and referred to using Microsoft reference), or are they stored on BW server (and referred to using SAP server ID)?
    If the workbooks are already open:
    Code behind button #1:
    Private Sub CommandButton1_Click()
        ActiveCell.Activate
        Workbooks(Workbook1).Activate
    End Sub
    Code behind button #2:
    Private Sub CommandButton2_Click()
        ActiveCell.Activate
        Workbooks(Workbook2).Activate
    End Sub
    If the workbooks are stored on PC or LAN as *.xls files:
    Code behind button #1:
    Private Sub CommandButton1_Click()
    Dim FileToOpen as String
        ActiveCell.Activate
        FileToOpen = Workbook1 'full path + name
        Workbooks.Open FileName:=FileToOpen
    End Sub
    Code behind button #2:
    Private Sub CommandButton2_Click()
    Dim FileToOpen as String
        ActiveCell.Activate
        FileToOpen = Workbook2 'full path + name
        Workbooks.Open FileName:=FileToOpen
    End Sub
    If the workbooks are stored on BW server and referred to using SAP server ID
    Code behind button #1:
    Private Sub CommandButton1_Click()
    Dim wbID as string
        ActiveCell.Activate
        wbID = Workbook1 'example: "2A024RULBDK33U5BNZH60RATU"
        Run "SAPBEX.XLA!SAPBEXreadWorkbook", wbID
    End Sub
    Code behind button #2:
    Private Sub CommandButton2_Click()Dim wbID as string
        ActiveCell.Activate
        wbID = Workbook2 'example: "2A024RULBDK33U5BNZH60RATT"
        Run "SAPBEX.XLA!SAPBEXreadWorkbook", wbID
    End Sub
    Regards, Pete

  • Problems Trying To Set Up Raid 0 On SATA (Plat SLI)

    I booted up for the first time and tried to install the drivers for RAID as I installed Windows. After installing the drivers, Windows wanted me to pick one of the drives, and I figured I should have set up the RAID using the RAID setup on the motherboard. I restarted to try and do this and it just tells me 'error loading operating system' every time. It will let me install Windows if I want to, but I want to set up my two drives in RAID 0 first - is this trouble 'cos Windows plonked some data on the drives? 
    Pressing F4 or Ctrl + S is supposed to invoke the RAID setup utility but it doesn't work (I don't get a screen like the manual says I should for five seconds either). Whilst installing Windows, F3 for 'exit' didn't work, whilst Esc for 'cancel' did...
    I've tried the reset CMOS button which didn't do anything useful either.
    Edit; just noticed 'T' and backspace doesn't work either. Could/must be a big fat keyboard issue.

    Sorry was on vacation last week.  Here is what you want to check.  In your Bios, (I think under Integrated Peripherals, but not 100% on that) There is an option for enaling or disabling the Silicon Raid controller, I recommend disabling it, especially if you want to use SATA II.  There is also an nVidiaRAID Config section, make sure that it is enabled and that the correct items are enabled underneath it.  The ones I have are:
    RAID ENABLE                       Enabled
    IDE Primary Master RAID        Disabled
    IDE Primary Slave   RAID        Disabled
    IDE Secondary Master RAID    Disabled
    IDE Secondary Slave RAID      Disabled
    SATA1 RAID                         Enabled
    SATA2 RAID                         Enabled
    SATA3 RAID                         Enabled
    SATA4 RAID                         Enabled
    Under the IDE Function setup make sure SATA1/SATA2 and SATA3/SATA4 are  ENABLED
    as mentioned before:
    Onboard SiI3132 RAID         Disabled
    Onboard SiI3132 Mode        RAID   (I have this set to raid although with the controller disabled I doubt it makes a difference)
    now after you get the Raid setup to launch and configure the array, go back into bios and make sure the boot sequence shows the raid array at the top of the list, if you only have the 2 drives it should already be there.
    after all of that, go back and install windows using the f6 to load BOTH drivers from thre floppy marked Nvidia Raid Drivers

Maybe you are looking for

  • Error: Couldn't find delivery channel for message

    Hi All, In our production environment, we sometime get the following error (Channel Audit Log): 2009-01-12 15:08:47 Error Unable to find channel ID 2009-01-12 15:08:47 Error Delivery of the message to the application using connection SOAP_http://sap.

  • Report Engine SDK: CommunicationException when accessing IReportEngine members

    Hello, I have installed BOXI 3.1 SP3, including the .NET SDK, and I am trying to use the Report Engine SDK part to navigate through a WebIntelligence document (analyse its structure, etc.), via a Console App. I built my console app targeting .NET fra

  • ITunes won't sync app to iPhone 4

    I recently purchased the Batman: Arkham City Lockdown app through the app store on my 15" macbook pro. When I try to sync to my iPhone 4 it just unchecks it in iTunes and doesn't sync. I don't know if it's related to the large file size of the app, o

  • Compressing 5GB iTunes Folder

    Hey, I am soon going to buy a new laptop (macbook pro) and my current one is staying elsewhere so the only way of transfering my stuff is by memory stick. I was wondering if there are any applications or how I can compress a 5GB iTunes library to be

  • Photoshop CS5.1  Stopped opening RAW Files from Rebel T4i.

    I have Photoshop CS5.1 and it has stopped opening my RAW files from my Rebel T4i. It was working the other day just fine.  I have tried to download the plugins that othes said will make it wotk; but nothing has worked so far. Also, it said that all m