How to make the  buttons same size on the toolbar

Hi All,
Can anyone please tell me how to make the size of buttons on the toolbar to be same .
And i also want to add combo box at the right side of my menubar with prefered size.
Please send me the solution if anyone knows . Thanks in advance.
Regards,
Shankar.

how to make the size of buttons on the toolbar to be same Create a panel with a GridLayout. Add the buttons to the panel then add the panel to the menubar.
add combo box at the right side of my menubar Read this section from the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html]How to Use Menu Bars for an example.

Similar Messages

  • Frame7: How to 'snug' an anchored frame to an image (make it the exact same size)?

    I remember there's a key combination to do this (at least I think I remember that), but have no idea what it is.
    I insert an anchored frame in my doc.
    I select the frame and import an object (a visio drawing).
    I want the frame to be exactly the same size as the drawing - right now I'm using the grab bars and resizing the frame, but that's not totally accurate.
    Help?
    Thanks!

    You are a GOD!
    Many thanks... it's such a handy tool. Makes everything fit perfectly, no mistakes in aligning the frame edge and obscuring image content, *and* it shows if your image has 'junk' floating in it.
    (I just tried it on one of my linked Visio drawings and the frame went *huge*. Turns out there was a stray line hanging off the bottom of the visible area of the drawing :-) )

  • I pressed the button twice and purchased the same movie twice on istore.  How do I delete the double purchase and be reimbursed?

    I pressed the button twice and purchased the same movie twice on istore.  How do I delete the double purchase and be reimbursed?

    http://www.apple.com/support/mac/app-store/contact.html?form=account&topic=MacAp pStoreAccountandBilling

  • How to make a Button to work Actively even if there is a mandatory field..?

    Hi All..
    How to make a Button to work Actively even if there is a mandatory field to be fulfilled..???
    I am badly in need of this logic, as i have to incorporate in my code..
    Points will be rewarded without fail..

    Hi Pavan,
    I also faced the same requirement. U can do one thing like remove the obligatory keyword of that parameter/select-option. U can handle the same using the program in at selection-screen event. See this sample of code,
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    SELECT-OPTIONS:  s_land1 for T005-LAND1 <b>[Needs to be mandatory]</b>                 no intervals no-extension.
    SELECT-OPTIONS:  s_panid FOR zoindex_val-zopanid.
    SELECT-OPTIONS:  s_effdat FOR zoexchrate-zedate.
    SELECTION-SCREEN END OF BLOCK b2.
    *-- AT SELECTION-SCREEN
    AT SELECTION-SCREEN.
      CASE sscrfields-ucomm.
    *-- Obligatory Country Code
      IF s_land1[] IS INITIAL.
        MESSAGE e050 WITH text-050.
                     "Please select the Country Code
      ENDIF.
    So whenever u do F8/Enter other than that push button, it will prompt u to enter the country code first then only u can proceed.
    Hope this would help u in some way. Please do reward the helpful answers.

  • How to make a button show AND hide a field?

    In an interactive form (with Adobe Acrobat X Pro), how can I purpose one button to:
    1.) Show a field when clicked the first time
    2.) Hide a field when clicked a second time
    I seem to only be able to make a button do one or the other, but not both with the same button. Maybe an easier way to say this is I want to be able to have one button turn a field "on" and "off".
    Any help would be GREATLY appreciated. Thanks! 

    Use this code:
    var f = this.getField("OtherFieldName");
    if (f.display==display.visible) f.display = display.hidden;
    else f.display=display.visible;

  • Can someone tell me how to make my screen full size with Safari ?  I am using a Mac osx 10.6.8.

    Can someone tell me how to make my screen full size on my Mac OSX 10.6.8. using safari.  I know this is a simple question. I have always had it on full screen and recently had it worked on remotely and now I can't get the screen back to full size.  I appreciate any advise you can offer. Thank you

    from the BetterTouchTool blog, older versions can be obtained using these links:
    The last 64bit Snow Leopard (10.6 ) version (v 0.939 ) can be downloaded here
    <http://bettertouchtool.net/btt0.939.zip>
    If you are using an older 32bit Mac you’ll have to use this version: 0.785
    <http://bettertouchtool.net/btt0.785.zip>

  • HT4515 How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    Double tap the Home button, tap & hold the Safari icon until it starts to wiggle, tap the red minus sign to remove it from the Multi-Tasking bar. Tap the Home button when finished.

  • How to make iDVD6 play same music throughout a complex menu?

    How,
    I´m new to Mac and iDVD and was wondering how I make a music file play as the background sound throughout a complex menu (menu with submenus) ? So that the music keeps playing even if you go in to a submenu.
    Cheers!

    You can drag the music file separatly into each menu and submenu. You would get the same music playing in each submenu but it probably won't pick up at the same point where it left off in the previous menu.
    I don't know of any other way to make all the menus play the same music, but perhaps others on this forum will have some comments.

  • Creating PDF the same size as the original

    I have a TIF created in Photoshop CS2 and I'm trying to create a PDF that's the same size as the original (3 x 2 inches). What is the secret? I'm pretty sure I've done this before, but I can't figure out what to select for Paper Size to make this happen. Thanks for the help!

    Try opening the TIF file in Acrobat directly. I just opened a TIFF file and it came out 2.74 X 1.00. IrfanView says the TIFF is 2.7 X 0.4. It looks like the opening added a bit of height to the file, but the right idea.

  • How do I get buttons to show at the end of a menu

    I have a menu that should be played every time (contains disclaimers, etc) and then there should be a choice of which track to play. How do I either get buttons that ONLY show up at the end--or have the menu automatically go to a next item which only contains a background and the buttons. I thought I had done this a long time ago but cannot remember what I did.

    The buttons kept showing throughout the entire menu, no matter what I tried. I ended up doing a wierd setup, where I had the menu jump to a submenu at the end. The submenu then contained the buttons. Also, the tracks will jump back to that same submenu at their ends. Not as clean as I would like it, but it seems to work. I had tried doing a SetLoopPoint chapter marker in FCP, but the DVDSP menu just plain ended at the loop point and would not go into a looping setup.
    If anyone has any other ideas, I would love to hear them - I am not pleased with this setup.

  • How to make a button to stop and run a for loop?

    How to make a button to stop and run a for loop?  and if it is stopped it shall start from where i t stopped.

    Your VI has some very fundamental flaws.
    The start/stop button is outside the FOR loop, thus it will NOT get read during execution of the FOR loop, but only before the FOR loop starts. Think dataflow!
    Thus the terminal of the start/stop button belongs inside the FOR loop.
    Your FOR loop iterates 20x, which probably takes about a nanosecond. You will NOT be fast enough to reliably press the start/stop button during a specific iteration of the FOR loop.
    Your code does not "stop and run" a FOR loop (sic). The loop always spins, but executes an empty case when "Stopped". I guess that's what you actually want?
    Once you solve (2), the x indicator will contain a random value whenever you "stop".
    As soon as the 20 iterations complete, the outer while loop spin an things start over, another nanosecond later.
    Place e.g. a 500ms wait inside the FOR loop to solve this.
    Don't place terminals of indicators on top of formula nodes.
    Your formula does not produce any output, so really has no purpose.
    Use a real "stop" button to terminate the while loop (mechanical action: latch when released). Right now you are using a plain switch, which does not reset to false before the next run. This means that you need to manually reset it before running the program again.
    It is oftern useful to operate the VI in execution highlighting mode. You will immediately see that your button does not get read during execution of the FOR loop. Try it!
    LabVIEW Champion . Do more with less code and in less time .

  • How to make a short clip out of the original one ?

    Some days ago, I asked a question on editing a clip in this forum. The responder asked me to provide a few seconds of the clip for his examination. But I got stuck. I didn't know how to make a clip of a few seconds out of the original clip and that it had the exact same format and properties as the original clip.
    Neither Premier nor After Effect have an ouput option such as "same as original source" .
    So, my question is how to make a short clip out of the original one with everything the same properties as the original one.
    Thanks in advance.

    May be I haven't made myself clear
    Sorry, but I think that I am still not following you.
    I want to export and render the short clip to a new file which I want to have everything the same as the original clip. Just like I cut off a few seconds off it and that few seconds becomes an independent file.
    OK, you have your original source file. It is complete and is also unaltered. If you want a "Copy" of it, just use Windows Explorer, or similar to make that Copy. If you want a separate file of your edited version of that source file (as it appears in the Timeline), use the WAB (Work Area Bar) to include just that edited instance of the source footage, and Export just the WAB. This will give you a separate file with the edits in it.
    I still feel that neither is what you want. If you can step me through, maybe with screen-caps, what you have and what you wish to end up with, I can see the operation more clearly.
    Good luck,
    Hunt

  • How to make "Utility" button in Printer Setup Utility available

    There, i add a printer in the Printer Setup Utility and select it. i want to open printer utility, but the "Utility"
    button in Printer Setup Utility is dimmed. In addition,
    "Printer\Configure printer" in the Printer Setup Utility menu is also dimmed.
    How to make "Utility" button in Printer Setup Utility available?
    Thanks in advance.

    Hi Jiong,
    That button is to acess the printer utility for that particular printer, not all printers come with a utility. If you have the disk that came with your printer, you can see if it has a Macintosh driver, if it does then it mimght have the utility with it. It's pretty hard to run the utility on its own, its burried somewhere in the system so that's why you have that menu item. You can alternatively go on the internet and download the latest driver, which might have a utility. All the utility will do will give you options to check nozzle patterns, alighnement, ink tank levels, and cleaning options - just mimnor maintenence junk, non-essentials, etc. I think Tiger just comes with a whole heap of generic drivers for different printer lines, can't say for sure.
    I wouldn't worry about it, especially if you have a relatively old printer.
    Hope that helps
    DKR

  • How to make plug ins show up in the filter menu, several Topaz plug ins are in the 13 plug in folder?

    How to make plug ins show up in the filter drop down menu, when several Topaz plug ins have been moved from Elements 11 to the plug in folder for Elements 13?

    Thank you for your advice. I followed your directions, but came up with the same results. However, I did discover that whenever I open up the iPhoto Library that is already existing on my MacBook a certain set of pictures shows up. But then when I open up the iPhoto Library from the Hard drive another set of pictures shows up. BUT not ALL of my pictures are showing up on the iPhoto Library from the hard drive. At least the last two years of pictures are not showing up?! Actually, it appears that all the pictures are there from when I started using iPhoto about 5 years ago up until around the time that I got my iMac desktop computer and started using that (2 years ago). I have noticed that more recent videos I have made are showing up in a folder on the hard drive, but will not appear when I open up iMovie?! Any ideas on how to access my pictures from the last 2 years off of the hard drive???

  • How to make a button to search something in sql

    I am trying to make a button that can search for something like for example if like say i type yes, it will show me things that is under yes.But I am not sure how to make the code work as I cannot change the php code as it is under the requirement that I make the button work and not using the php code to make it work which means that I cannot type the yes to show the information and the button must somehow have the "yes" in the function to show the information.Please help me and Thanks for your help.
    This is my flash code.
    package  {
      import flash.display.MovieClip;
      import flash.net.NetConnection;
      import flash.net.Responder;
      import flash.events.MouseEvent;
      public class main extends MovieClip {
      var gateway:NetConnection;
      var responder:Responder;
      public function main() {
      gateway = new NetConnection();
      gateway.connect("http://localhost:8088/amfphp/gateway.php");
      responder = new Responder(OnPass,OnError);
      showAlBtn.addEventListener(MouseEvent.CLICK,doAvailable);
      function doAvailable(evt:MouseEvent):void
      gateway.call("Books.getBooksAvailable",responder);
      function OnPass(res:Object):void
       var i:int;
      albumDG.removeAll();
      for (i=0;i<res.length;i++)
      albumDG.addItem(res[i]);
      function OnError(res:Object):void
      trace("Error");
    .This is the code for the php code that works because I already tested it out because it allows me to type yes and it shows me the required information that I need and it is not tested on flash cs6 but on local host things that allows me to test it out.
    function getBooksAvailable($avail)
      $this->connect();
      $sql = "SELECT title as 'Book Title', author as 'Author', price as 'Price', available as 'Available'
      FROM tblbookinventory
      WHERE available ='" . $avail . "'";
      $result = mysql_query($sql, $this->_connection);
      $rows = array();
      while($row = mysql_fetch_array($result, MYSQL_ASSOC))
      array_push($rows, $row);
      return $rows;

    use the urlloader class to call your php file. 
    the php function you showed is expecting a variable ($avail)  that might accept a value of 'yes'.

Maybe you are looking for

  • Visual report issue with PP 2010 - Displaying too many years

    Hi, I am using project pro 2010.  When I display a report (e.g. Resource Cost Summary), and if I add the Monthly Calendar field in the report, it displays 7 columns from 2010 to 2016 even though there is data only for 2014 and 2015. I need to manuall

  • Finding Apple Id Used on Device

    Recently my iphone 5 was stolen. I reported it to police, blacklisted it under my carrier, and tried find my iphone which did not work because it was turned off. I know all these methods are inefficient to track down a stolen phone because also recen

  • Best Practice for vDS, Uplinks and TF ?

    Hi, Three questions about vNetwork Distributed Switch: My environment: - Datacenters: 2 - Hosts: 50 (25 in each datacenter) - Cluster: 10 (5 in each datacenter) (2 to 5 nodes per cluster) - Nics Hosts:      - 1 nic for management      - 1 nic for red

  • Changing cursor to the built in Hand cursor

    I am working with CS4 with AS 3. I have defined a MovieClip library symbol. I want the cursor to be hand when mouse is over it. The stage has a single instance of the symbol with the name "btn". I tried the following in first frame of the symbol: thi

  • WRT54G2 V1 stops routing after some simultaneous tcp connections

    Hello guys, this issue with my WRT54G2: - when i open more than 2 or 3 browser windows or anything that access internet, it stop routing - shutdown and power up make it work again (then stops again after some simultaneous tcp connections) - hard rese