Customising the "bar" of the MenuBar component

Hi there, here is my situation...
I'm trying to modify the style properties of a MenuBar
component at runtime, in particular the colour of the bar.
Reskinning is not really an option as the effect must happen
at runtime.
Using
myMenuBar_mb.setStyle("themeColor", 0xFFAAAA);
works to an extent (changing border & highlight colour)
but does not change the silvery bar that the "root menu" labels sit
upon.
if I use setStyle("backgroundColor", 0x000000); the child
Menu's are changed, but alas, not the bar itself.
Any ideas?

Well in the case of only searching a specific field all you need to do is delete the portions of your reports SQL statement that are refering to the other columns.
find the regions area in your edit page
select the first link in the line about your report (the name of your report as oppossed to the one next to it that says report)
scroll down to the source area there should be a SQL statement that looks something like this:
SELECT * FROM
(SELECT NAME, ADDRESS, PHONE_NUMBER
FROM TABLENAME)
WHERE (
instr(upper("NAME"),upper(nvl(:P3_REPORT_SEARCH,"NAME"))) > 0 or
instr(upper("ADDRESS"),upper(nvl(:P3_REPORT_SEARCH,"ADDRESS"))) > 0 or
instr(upper("PHONE_NUMBER"),upper(nvl(:P3_REPORT_SEARCH,"PHONE_NUMBER"))) > 0
the instr statements return true if at least one instance of the search value is in in that column so in order to not include Address and Phone_number just get rid of those lines.
SELECT * FROM
(SELECT NAME, ADDRESS, PHONE_NUMBER
FROM TABLENAME)
WHERE (
instr(upper("NAME"),upper(nvl(:P3_REPORT_SEARCH,"NAME"))) > 0
Delete them and apply changes.
The next thing is to get rid of the highlights (instances of the search string turn red in the report)
Click on the second link (report) for your report region.
click the edit icon next to address
in Column Formatting delete the text in Highlight Words.
apply and repeat for phone_number

Similar Messages

  • Customising the accordion component colours

    Hi,
    Does anybody know of a way to customise the colours in the
    accordion component. I need to change the button colour, and the
    background colour.
    Thanks,
    Dylan

    You can check that in Flash Help Components > Components
    Language Reference > Accordion component (Flash Professional
    only) > Customizing the Accordion component (Flash Professional
    only) and also Components > Using Components > Customizing
    Components. :D
    It explains everything.
    Here's a sample code copied from Flash Help:
    var section1 = accordion.createChild(mx.core.View,
    "section1", {label: "First Section"});
    var section2 = accordion.createChild(mx.core.View,
    "section2", {label: "Second Section"});
    var input1 = section1.createChild(mx.controls.TextInput,
    "input1");
    var button1 = section1.createChild(mx.controls.Button,
    "button1");
    input1.text = "Text Input";
    button1.label = "Button";
    button1.move(0, input1.height + 10);
    var input2 = section2.createChild(mx.controls.TextInput,
    "input2");
    var button2 = section2.createChild(mx.controls.Button,
    "button2");
    input2.text = "Text Input";
    button2.label = "Button";
    button2.move(0, input2.height + 10);
    accordion.setStyle("fontStyle", "italic");
    I think the buttons inside the components can be changed
    using global styles.
    Use this code:
    _global.style.setStyle("color", 0xCC6699);
    _global.style.setStyle("themeColor", 0xFF00FF)
    _global.style.setStyle("fontSize",16);
    _global.style.setStyle("fontFamily" , "_sans");
    _global.style.setStyle("fontWeight" , "bold");
    Change the colors :D they are in pink lol
    Regards.

  • Menubar component and xml issue

    Hi folks,
    I am using the menuBar component that ships with mx2004pro,
    to choose galleries in an xml gallery. The gallery selector code is
    this:
    It's the second to last line, bassmenu.childNodes.onRelease =
    function, that I am having trouble with. bassmenu is the instance
    name of the component. The menubar component is loading the xml
    just fine. If I change the above to "bassmenu.onRelease =
    function..." the top level buttons on the bar will change the
    gallery. I just can't figure out how to address the child nodes of
    the menubar.
    I have spent a ridiculous amount of time on this, bought and
    read a book, read every tutorial and help file out there, any help
    would be greatly appreciated. I would be happy to post the source
    and the xml if that helps.

    The documentation is wrong.  Your payload should include the commands you want to deploy.  So, use:
       cwcli config import -u admin -p [Base64PWD] -device [DisplayName]
       -f
      interface FastEthernet0/21
      switchport access vlan 2400
      switchport mode access
      no cdp enable
      spanning-tree portfast
      ip verify source
      shutdown
    end

  • MenuBar Component - Aligning Menu Left

    Hello all,
    I have a quick question. Is it possible to set the menubar
    component so that it's submenu is configured to display to the left
    ( if it was on the far left of the screen)?
    Currently I have it placed on the left side of the screen,
    with text aligned to right. The following problems occur :
    The arrows that are displayed when a menu has children is on
    the right, is it possible to align it left?
    The 2nd/3d level submenus open on TOP of their parent menu,
    instead of to the left, like I would like them to.
    Is there a sort of static property or something that I'm not
    finding that is made to align the entire menu to the right?
    Screenshot
    Here

    Can you please explain why you have PHP code inside your CSS body selector?
    PHP does not belong in your CSS code.
    body{
    <?php
    // define variables and set to empty values
    $nameErr = $emailErr = $genderErr = $websiteErr = "";
    $name = $email = $gender = $comment = $website = "";
    if ($_SERVER["REQUEST_METHOD"] == "POST") {
      if (empty($_POST["name"])) {
        $nameErr = "Name is required";
      } else {
        $name = test_input($_POST["name"]);
        // check if name only contains letters and whitespace
        if (!preg_match("/^[a-zA-Z ]*$/",$name)) {
          $nameErr = "Only letters and white space allowed";
      if (empty($_POST["email"])) {
        $emailErr = "Email is required";
      } else {
        $email = test_input($_POST["email"]);
        // check if e-mail address is well-formed
        if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
          $emailErr = "Invalid email format";
      if (empty($_POST["website"])) {
        $website = "";
      } else {
        $website = test_input($_POST["website"]);
        // check if URL address syntax is valid (this regular expression also allows dashes in the URL)
        if (!preg_match("/\b(?:(?:https?|ftp):\/\/|www\.)[-a-z0-9+&@#\/%?=~_|!:,.;]*[-a-z0-9+&@#\/%= ~_|]/i",$website)) {
          $websiteErr = "Invalid URL";
      if (empty($_POST["comment"])) {
        $comment = "";
      } else {
        $comment = test_input($_POST["comment"]);
      if (empty($_POST["gender"])) {
        $genderErr = "Gender is required";
      } else {
        $gender = test_input($_POST["gender"]);
    function test_input($data) {
      $data = trim($data);
      $data = stripslashes($data);
      $data = htmlspecialchars($data);
      return $data;
    Nancy O.

  • Change state with MenuBar component

    It's pretty easy to change the state with a button. Example:
    click="currentState='AboutScreen'"
    But when I try to do this on the MenuBar component, I'm not
    having any luck. When I click on the item (let's say Help ->
    About), nothing happens. My code is:
    click="currentState='menu.student.create_profile'"
    I also tried,
    itemClick="currentState='menu.student.create_profile'"
    No luck.. anyone know how to change states based off items
    clicked from the MenuBar?

    This should get you started:
    http://www.playingwithfire.com/fun.html

  • MenuBar Component: Listener for Click on Main Menu?

    When using the MenuBar component, is there a way to add an
    event that will tirgger when the user clicks an item in the MenuBar
    (as differentiated from when they click on a sub-menu item)?

    If you removed the stop() from scene 2 it will not stop there it will return to wherever "home" is.
    If you intend to have the timeline stop at some frame, then you need to place a stop() command in that frame, or use a gotoAndStop() command.
    If you are going to use scenes  be consistent with the way you write the goto commands. The use of is rarely recommended - instead, use different sections of the timeline of just one scene, or use movieclips and control their visibility, or a combination of both.
    If you continue to have issues, try simplifying first - build/add the navigation for one section at a time instead of trying to get it all in one shot.

  • Problem with the MenuBar and how can i delete a own component out of the storage

    Hello,
    I opened this thread in the category "Flex Builder 2", but
    under this category my questions fit better.
    I have a problem with the MenuBar and a question to delete a
    component out of storage.
    1. We have implemented the MenuBar, which was filled
    dynamically with XML data.
    Sporadically it will appear following fault, if we "mousover"
    the root layer.
    RangeError: Error #2006: Der angegebene Index liegt
    außerhalb des zulässigen Bereichs.
    at flash.display::DisplayObjectContainer/addChildAt()
    at mx.managers::SystemManager/
    http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()
    at mx.managers::SystemManager/addChild()
    at mx.managers::PopUpManager$/addPopUp()
    at mx.controls::Menu/show()
    at mx.controls::MenuBar/::showMenu()
    at mx.controls::MenuBar/::mouseOverHandler()
    Here a abrid ged version of our XML to create the MenuBar:
    <Menuebar>
    <menu label="Artikel">
    <menu label="Artikel anlegen" data="new_article" />
    <menu label="Artikel bearbeiten" data="edit_article" />
    <menu label="Verpackung">
    <menu label="Verpackung anlegen" data="new_package" />
    <menu label="Verpackung bearbeiten" data="edit_package"
    />
    </menu>
    <menu label="Materialgruppe">
    <menu label="Materialgruppe anlegen"
    data="new_materialgroup" />
    <menu label="Materialgruppe bearbeiten"
    data="edit_materialgroup" />
    </menu>
    </menu>
    </Menuebar>
    It is a well-formed XML.
    2. Delete a component out of storage
    We have some own components (basically forms), which will be
    created and shown by an construct e.g.
    var myComponent : T_Component = new T_Component ;
    this.addChild(myComponent)
    Some of our forms will be created in an popup. On every call
    of the popup, we lost 5 mb or more, all childs on the windows will
    be removed by formname.removeAllChild();
    What cann we do, that the garbage collector will dispose this
    objects.
    Is there a way to show all objects with references (NOT
    NULL)?
    I have read in the Flex Help, that
    this.removeChild(myComponent) not delete the form and/or object out
    of the storage.
    Rather the object must be destroyed.
    It is sufficient to call delete(myComponent) about remove
    this object out of the storage as the case may be that the
    garbage-collector remove this object at any time?
    Or how can I destroy a component correctly. What happens with
    the widgets on this component e.g. input fields or datagrids?
    Are they also being deleted?
    Thanks for your help.
    Matze

    If you mena the "photo Library" then you cannot delete it.
    This is how iphone handles photos.  There are not two copies.  There a re simply two places from which to access the same photos.  ALL photos synced to iphone can be accessed via Photo Library.  Those same pics can be accessed via their individual folder.

  • Customising the color of a window's title bar

    I am using form 10g. How can I customise the color of a window's title bar besides the changes that are brought about by toggling formsweb.cfg parameter look and feel? I mean if I wanted it to be gray/black?
    Is the way just for interest. Does anyone know?
    Thanks

    Hi,
    as far as i am aware of, there is no such option
    Frank

  • How can we Customise the standard tool bar ??

    Can any body tell em how can we customise the standard tool baar in the forms. ie is there any way by which we can enable or disable few of its button.
    do reply
    thanx in advance
    amyt

    Hi,
    I have accomplished through the creation of a Menu in oracle Forms. After setting up your menu options, go to the "Visible In Horizontal Menu Toobar" property and set to YES. Then change the "Icon Filename" property to whatever your icon file is.
    Good luck!
    Bob

  • How to give link to submenu of the menubar Pls help me

    Dear Sir,
    I am new in Flex, i want to know that how can we give to link for
    child in menuBar, for new window open.
    I created one parent.mxml with menus and submenu's
    i created one component.mxml with different fields
    So i want to link component.mxml to one of the child menu.
    Thanks
    Vigin Kurakar

    <?xml version="1.0"?>
    <!-- Simple example to demonstrate the MenuBar control. -->
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="initCollections();" >
         <mx:Script>
              <![CDATA[
                   import mx.collections.*;
                   import mx.controls.Alert;
                   import mx.events.MenuEvent;
                   [Bindable]
                   public var menuBarCollection:XMLListCollection;
                   private var menubarXML:XMLList =
                        <>
                             <menuitem label="Menu1" data="top">
                                  <menuitem label="MenuItem 1-A" data="1A"/>
                                  <menuitem label="MenuItem 1-B" data="1B"/>
                             </menuitem>
                             <menuitem label="Menu2" data="top">
                                  <menuitem label="MenuItem 2-A" type="check"  data="2A"/>
                                  <menuitem type="separator"/>
                                  <menuitem label="MenuItem 2-B" >
                                       <menuitem label="SubMenuItem 3-A" type="radio"
                                            groupName="one" data="3A"/>
                                       <menuitem label="SubMenuItem 3-B" type="radio"
                                            groupName="one" data="3B"/>
                                  </menuitem>
                             </menuitem>
                        </>;
                   // Event handler to initialize the MenuBar control.
                   private function initCollections():void {
                        menuBarCollection = new XMLListCollection(menubarXML);
                   // Event handler for the MenuBar control's itemClick event.
                   private function menuHandler(event:MenuEvent):void  {
                        // Don't open the Alert for a menu bar item that
                        // opens a popup submenu.
                        /* if (event.item.@data != "top") {
                             Alert.show("Label: " + event.item.@label + "\n" +
                                  "Data: " + event.item.@data, "Clicked menu item");
                        var menuItem:String = event.item.@data;
                        switch(menuItem){
                             case "1A":Alert.show("1-A")
                                  break;
                             case "2A":Alert.show("2A");// herer the 2A is in a different level altogether
                                  break;
                             //go on like this
              ]]>
         </mx:Script>
         <mx:Panel title="MenuBar Control Example" height="75%" width="75%"
                     paddingTop="10" paddingLeft="10">
              <mx:Label width="100%" color="blue"
                          text="Select a menu item."/>
              <mx:MenuBar labelField="@label" itemClick="menuHandler(event);"
                             dataProvider="{menuBarCollection}" />
         </mx:Panel>
    </mx:Canvas>
    somthing like this will work for you.
    ref: http://examples.adobe.com/flex3/componentexplorer/explorer.html
    If you have any trouble go to the above link and view the examples, you will get good idea on all of the components.

  • How can I change the menubar depeneding on the panel selected?

    Hi,
    I am having the[b] AppMain.java extends JFrame and the Navigator extends AppMain.
    There is a perspective.java interface which has a getMenu() method as follows
    public JMenubar getMenu()
    There are 2 panels which are being interchenged depending on the button selected in the navigator.
    THey are the Admin and the Config which implements Perspective extends JPanel
    and they also have the method for getmenu()as follows.
    public JMenuBar getMenu()
    return Navigator.getInstance().getJMenuBar();
    in the Navigator I have the code for the setJMenuBar as follows
    String xmlFile = "/metadata/guidef.xml";
    //Parse the xml file that represents the gui menus, toolbars, actions, icons
    try
    ErrorFactory.getInstance().parse();
    GuiFactory.getInstance().setInputSource(xmlFile);
    GuiFactory.getInstance().parse();
    this.setIconImage(IconFactory.getInstance().getIcon("appicon").getImage());
    this.setJMenuBar(createMenuBar());
    catch (Exception e)
    e.printStackTrace();
    But what I need to do is I need to change the menubar depending on panel selected ?
    Thanks in advance.

    public class MQENavigator extends ApplicationMain {
    /** Main Content panel for the application Frame */
    public JPanel mainContentJPanel_;
         public JPanel mainViewPanel = null;
         JPanel perspectiveButtonBar = new JPanel();
    public JPanel perspectiveViewPanel = new JPanel();
    public JPanel configViewPanel = new JPanel();
    public JPanel commandStatPanel = new JPanel();
    private Hashtable panelsHash = null;
    static private final String mqenterpriseKey = "application.title";
    static private final String guidefKey = "ldmkxml.guidef.text";
         static private final String initmqKey = "ldmkxml.mqelayout.text";
         static private final String toolbarKey = "ldmkxml.create.toolbars.text";
         static private final String statusKey = "ldmkxml.create.statusbars.text";
         static private final String mainappKey = "ldmkxml.create.mainapp.view.text";
         static private final String launchKey = "ldmkxml.launch.mqenterprise.text";
         static private final String imgfnfKey = "ldmkxml.imgfile.notfound.text";
         //ints to keep track of heights of various components
    int iHeight_;
    //Splash window for updating status
    SplashWindow _splash = null;
    * Constructor for the main application frame
    public MQENavigator()
    super();
    try
    initComponent();
    initGUI();
    soleInstance_ = this;
    catch(Exception e)
    e.printStackTrace();
    * This will initialize the component defaults
    * @param None
    * @return None
    * @exception <{Exception}>
    protected void initComponent() throws Exception
    setAppKeyName("mqe");
    setIniFile("mqe");
    Locale.setDefault(SupportedLanguages.getLocale(
    Integer.parseInt(getIniFile().getProperty("selected.language", "0"))));
              String key = StringFactory.getString(mqenterpriseKey);
    setAppName(key);
    Log.init();
    Log.log(Log.NOTICE, this, Utilities.getResource("/metadata/version.info").trim());
    super.initComponent() ;
              String hs = getIniFile().getProperty("helpset.name");
              GuiResource.initializeHelp(hs);
    * This will initialize this components GUI
    * @param None
    * @return None
    * @exception Exception
    private void initGUI() throws Exception
              String guidefkey = StringFactory.getString(guidefKey);
              String initmqkey = StringFactory.getString(initmqKey);
              String toolkey = StringFactory.getString(toolbarKey);
              String statuskey = StringFactory.getString(statusKey);
              String mainappkey = StringFactory.getString(mainappKey);
              String launchkey = StringFactory.getString(launchKey);
    // Start the splash screen
    _splash = displaySplashScreen(createSplashPanel());
    // Create the Menu Bar
    _splash.incrementProgressTo(10, guidefkey);
    String xmlFile = "/metadata/guidef.xml";
    createJMenuBar(xmlFile);
    /**String configxmlFile = "/metadata/configguidef.xml";
    //Parse the xml file that represents the gui menus, toolbars, actions, icons
    try
    ErrorFactory.getInstance().parse();
    GuiFactory.getInstance().setInputSource(xmlFile);
    GuiFactory.getInstance().parse();
    this.setIconImage(IconFactory.getInstance().getIcon("appicon").getImage());
    this.setJMenuBar(createMenuBar());
    catch (Exception e)
    e.printStackTrace();
    // Set the main content panel for all the GUI components
    _splash.incrementProgressTo(15, initmqkey);
    mainContentJPanel_ = (JPanel) this.getContentPane();
    mainContentJPanel_.setLayout(new BorderLayout());
    mainContentJPanel_.setSize(new Dimension (800,600));
    //Lets create the panels that we need
    //Keep track of the height of the toolbar and status so we now the max
    //real estate we can use for the actual "guts" display of the application
    //ToolBar
    _splash.incrementProgressTo(20, toolkey);
    //Status Bar
    _splash.incrementProgressTo(30, statuskey);
    JPanel statusBarPanel = createStatusBar();
    iHeight_ += statusBarPanel.getHeight();
    /**commandStatPanel = new JPanel();
         commandStatPanel.setLayout(new BoxLayout(commandStatPanel, BoxLayout.Y_AXIS));
              CommandStatsPanel commands = new CommandStatsPanel();
              ApplicationMain.getInstance().setCommandPanel(commands);
    String shouldOpen = MQEPreferencesDialog.getPreferenceValue("enable.trace.commands");
              if (shouldOpen != null)
                   Boolean traceOn = new Boolean (shouldOpen);
                   if (traceOn.booleanValue())
                        AbstractAction action = LandMarkMQActions.getInstance().getActionForName("viewcommand");
                        action.actionPerformed(new ActionEvent(this, ActionEvent.ACTION_PERFORMED, "enabled"));
                        //splitPane.setBottomComponent(commands);
                        commandStatPanel.add(commands);
              commandStatPanel.add(statusBarPanel);*/
    //MainView
    _splash.incrementProgressTo(40, mainappkey);
    mainViewPanel = new AdminPerspectivePanel();
              perspectiveViewPanel.setLayout(new BorderLayout());
              perspectiveViewPanel.add(mainViewPanel,BorderLayout.CENTER);
              perspectiveButtonBar.setLayout(new BoxLayout(perspectiveButtonBar, BoxLayout.Y_AXIS));
              perspectiveButtonBar.setBorder(BorderFactory.createRaisedBevelBorder());
              JButton adminPerspectiveButton = ComponentFactory.getInstance().createImageButton(IconFactory.getInstance().getIcon("navigator"));
              JButton configPerspectiveButton = ComponentFactory.getInstance().createImageButton(IconFactory.getInstance().getIcon("addicon"));
              JButton monitoringPerspectiveButton = ComponentFactory.getInstance().createImageButton(IconFactory.getInstance().getIcon("staricon"));
              configViewPanel = new ConfigPerspectivePanel();
              perspectiveButtonBar.add(adminPerspectiveButton);
              adminPerspectiveButton.addActionListener(new ActionListener()
                   public void actionPerformed (ActionEvent ae)
                        setPerspectivePane(mainViewPanel);
              perspectiveButtonBar.add(configPerspectiveButton);
              configPerspectiveButton.addActionListener(new ActionListener()
                   public void actionPerformed (ActionEvent ae)
                        setPerspectivePane(configViewPanel);
              // Done adding perspectiveButtonBar, perspectiveViewPanel and statusBarPanel to content pane
              mainContentJPanel_.add(perspectiveViewPanel, BorderLayout.CENTER);
    mainContentJPanel_.add(perspectiveButtonBar, BorderLayout.WEST);
    //mainContentJPanel_.add(commandStatPanel, BorderLayout.SOUTH);
    mainContentJPanel_.add(statusBarPanel, BorderLayout.SOUTH);
    //Launch the application
    _splash.incrementProgressTo(100, launchkey);
    launch(getAppName(), false) ;
    //To get around a swing bug set the locations of the splitpanes here
    setSplitDividers();
    validate();
    //This seems to fix the problem of the details panel split going to the correct location
    setSplitDividers();
    _splash.closeSplashWindow();
    setVisible(true);
    public void setPerspectivePane(JPanel panel)
              perspectiveViewPanel.removeAll();
              perspectiveViewPanel.add(panel);
              perspectiveViewPanel.revalidate();
              perspectiveViewPanel.repaint();
    public void setSplitDividers()
    double dividerLoc = .40;
    //The main split pane you want a 90 /10 split
    ApplicationMain.getInstance().getTreeDetailSplit().setDividerLocation(dividerLoc);
    ApplicationMain.getInstance().getTreeDetailSplit().setResizeWeight (dividerLoc);
    dividerLoc = .80;
    ApplicationMain.getInstance().getTreeCommandSplit().setResizeWeight (dividerLoc);
    ApplicationMain.getInstance().getTreeCommandSplit().setDividerLocation(dividerLoc);
    dividerLoc = .50;
    ApplicationMain.getInstance().getDetailEventSplit().setResizeWeight (dividerLoc);
    ApplicationMain.getInstance().getDetailEventSplit().setDividerLocation(dividerLoc);
    ((DetailPanel)ApplicationMain.getInstance().getDetailsPanel()).resetTableColumns();
    ((EventPanel)ApplicationMain.getInstance().getEventPanel()).resetTableColumns();
    //((CommandStatsPanel)ApplicationMain.getInstance().getCommandPanel()).resetTableColumns();
    public void createJMenuBar(String xmlFile)
              //Parse the xml file that represents the gui menus, toolbars, actions, icons
              try
                   ErrorFactory.getInstance().parse();
                   GuiFactory.getInstance().setInputSource(xmlFile);
                   GuiFactory.getInstance().parse();
                   this.setIconImage(IconFactory.getInstance().getIcon("appicon").getImage());
                   this.setJMenuBar(createMenuBar());
                   validate();
                   repaint();
              catch (Exception e)
                   e.printStackTrace();
    private JPanel createSplashPanel()
    String imagekey = StringFactory.getString(imgfnfKey);
    JPanel splashPanel = new JPanel(new BorderLayout());
    splashPanel.setBackground(Color.white);
    JLabel l = null;
    ImageIcon img = Utilities.getImage("/images/MQENavigator.jpg");
    if (img != null)
    l = new JLabel(img);
    else
    l = new JLabel(imagekey);
    l.setBackground(Color.white);
    l.setBorder(BorderFactory.createCompoundBorder());
    splashPanel.add(l, BorderLayout.CENTER);
    splashPanel.setPreferredSize(new Dimension ((int) l.getPreferredSize().getWidth(),
    (int) l.getPreferredSize().getHeight()));
    return splashPanel;
    static public void main (String[] args) throws Exception
    MQENavigator landMarkApp = new MQENavigator();
    Here in the code there is a setPerspectivePane() when the button are created and the admin and config are two different panels I meant to say.

  • The menubar will not display in full screen

    Hi.
    I have a strange problem in fullscreen mode, on my Macbook pro 15"
    I LOVE fullscreen, and infact the next macbook I will get is the 11" air because of its size and because full screen is so nice to work with.
    But I have a strange problem which I can't find a solution for.
    Suddenly the menubar will not display it self when I move the mouse to the top of the screen. The only way I can access the menu bar is by exiting full screen (ctrl + Cmd + F) and the toggel it back on after I have used the menubar
    This actually makes fullscreen mode useless and its driving me nuts, because this should not happen on Apple software. I would expect these sorts of behaviour on windows but not in osx.
    Anybody have a hint about what to do?

    https://discussions.apple.com/thread/3881124?start=0&tstart=0     <<<<< GO THERE
    Try this:  make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.

  • Is there a way to turn off the menubar/dock in fullscreen applications?

    I've recently been using several applications which are designed to operate in an absolute fullscreen mode, and I'm being frustrated by the appearance of the menubar or dock if I happen to move the cursor near their locations.   For these specific applications, there is no need to access the menubar in full screen mode, and very often there will be things I wish to click on which are near the top of the screen, but it is very hard to do without moving one pixel too close and having the menubar drop down and obscure what I was trying to click on.
    An example of programs where this can be an issue are remote desktop access programs (Splashtop in my specific case).   When I make the application full-screen, it displays the full-screen of the remote computer.  However, as you can imagine, when you try to access the menubars on the remote machine, the menubar for my local machine will drop down and obscure the remote menubar.  For a remote desktop application, if I want to access the local menubar I would drop out of fullscreen mode and then access the local menu bar, but when I am in fullscreen mode, I don't want the local menubar to display.  The same problem exists for the Dock, obviously just whenever I need to access something at the bottom of the screen instead of at the top.
    What I really want to know is this:  How can I set the menubar/dock to be permanently hidden when I am using an application in a full screen mode.   There are certain apps in which I absolutely do not want the menubar to appear and it is extremely frustrating to have it keep 'jumping in front of my mouse' at the edges of the screen.

    Oh, it also lists my bookmarks as well. Private browsing? Are you serious?

  • How do you change the Tree Component Icons?

    Hi,
    I have been trying to get to grips with the tree component. I
    want to
    customise it so that I can have a different icon for each
    different link.
    E.g. a QT logo for a video etc. If no valuse is found for the
    'icon'
    attribute it will just display the default.
    Within my XML file I have created a new attribute for each
    link called
    'icon' and has a value of 'movie.gif' or something similar.
    In my flash file, I have created the following code:
    theTree.iconFunction = function (node:XMLNode) {
    var iconNode:String = item.attributes.icon;
    if (iconNode != undefined) {
    return iconNode;
    However, it does not seem to work. My knowledge of
    ActionScript is pretty
    poor so I assume I have made a mistake in there somewhere.
    Can anyone help
    me with this?
    Thanks!

    Check out the Component Reference... you change the icon for
    a single node, as far as I know there's no automated process beyond
    that. So assuming your tree component instance is named "theTree"
    you might do this to change the icon of the first node:
    theTree.dataProvider = yourXML; // make sure you don't try to
    change the icon before you load data into the tree
    var theNode = theTree.getTreeNodeAt(0); // the first node in
    your tree
    theTree.setIcon(theNode,'myIcon'); // set the icon
    Where "myIcon" is a MovieClip you have in your library that
    you have set the "linkage identifier" as "myIcon".
    That iconFunction doesn't make a whole lot of sense to me,
    because first of all I don't know why it would be attached to
    theTree, and second it's referring to "item" which is not defined,
    and third its taking the parameter "node" and not doing anything
    with it. But perhaps there is some cool way to make a single
    function which handles icons for your entire tree automatically,
    that would certainly be nice.
    However, like I said, as far as I know that function will do
    nothing without calling tree.setIcon() in some way. I just made a
    function which might do what you want -- it recursively loops
    through an entire tree and sets it's icon based on the XML
    attribute "icon":
    function setAllIcons(branch){
    for(var i in branch.childNodes){
    var node = branch.getTreeNodeAt(i);
    theTree.setIcon(node,node.attributes['icon']);
    if(node.hasChildNodes){
    setAllIcons(node);
    So basically, you run setAllIcons(theTree.dataProvider) after
    you have loaded and applied the XML.

  • How to customise the Finder, programmatically

    I've long complained about the Finder's lack of a location/address bar, and since most Mac people seem to cope without it, I'm going to try to write one myself.
    Could somebody please point me to the documentation for the Finder -i.e., public interfaces, etc, and how programmers can go about writing plugins/extensions to the Finder? I've searched but can't seem to find much. Folder actions aren't what I'm looking for. I want to customise the Finder so that I can add things to the top of the window myself.
    Thanks.

    Apple are very keen on their widgets but I find them annoying. Having to press F12 to access them and not being able to keep them on-screen all the time means that they just aren't a consideration for me. Even the guys from the Mac Break Weekly say that Vista's sidebar is much better, and in lieu of same on the Mac, they all prefer Yahoo widgets because at least you can have them on your desktop.
    I'll agree with you that those hacks will be broken by Leopard; that's why I didn't like the idea of spending my time a) learning Objective-C and Xcode and b) designing some sort of haxie that Apple discourages and will take great delight in breaking or saying "sorry, we're not supporting your machine because of the presence of that haxie."
    I eagerly await news of what you manage to find on the "loadable bundle" front. Thanks.
    Intel iMac 20"   Mac OS X (10.4.9)  

Maybe you are looking for