JMenuBar set location and/or  height

Hello,
I was just wondering if it is possible to place a JMenuBar at the bottom of a frame instead of at the top that it seems to goto by default. Also was wondering if it is possible to change the height of a JMenuBar. Any help would be great thanks. :)

A menu bar contains one or more menus and has a customary, platform-dependent location ? usually along the top of a window
Perhaps you could create your own look and feel and perhaps you could use the Swing forum in future.

Similar Messages

  • I have just had my iPad stolen. I by mistake pressed delete rather than find and lock. It has not been activated. Can I remove delete and get it set to locate and lock now.

    Please can somebody help me. I have just had my iPad stolen. Used I could to try to locate it buy pressed delete by mistake. Any e
    Way to reverse this and then use locate and lock instead.

    What To Do If Your iDevice Is Lost Or Stolen
    If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. What to do if your iOS device is lost or stolen
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
      8. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

  • Is there any way that apple can locate/track a lost iPhone? The tracker wasn't set up and switched on.

    Can I track a lost iPhone without having set up and turned on the tracker on iclouds?
    Would apple be able to locate the lost phone by using the serial number?
    Many thanks!

    No Apple won't be able to track it.
    See this link for stolen/lost iphones http://discussions.apple.com/thread/3978740?tstart=0

  • Set datasource location and remapping fields in code instead of designer

    Dear all,
    We are currently migrating a VS6 reporting project to VS2010. The old project has like 133 Crystal Reports XI release 2 reports.
    All of these .rpt files need to have their datasource location changed and fields remapped because of a change in naming convention.
    The datasource location is currently set to a stored procedure in an Oracle database and this will remain; only the name of the
    stored procedure and the name of the fields returned are changed (due to new naming conventions).
    Is there a way, and I really hope so, to programmatically change the datasource location and remap the fields (mind that these fields are also used in formulas, grouping, total, ...).
    Doing this manually in the designer for like 133 times would be very time consuming.
    After some research I stumbled upon the CrystalDecisions.ReportAppServer.Controllers.DatabaseController but I'm looking for some example usage, if this is the correct way.
    The end result should be that all these 133 .rpt files have their datasource location changed and fields remapped.
    Any assistance or pointers in the right direction would be kindly appreciated.
    Thanks.

    Not aware of how you can do this in code.
    However, there are third party products which you can use to mass update reports with datasource and table mapping.
    RptInspector is a product I know of that can do what you want.
    Ian

  • Set location of components and reduce the size

    I want to resize JavaFX component and shrink the components which are next to it. Here is the result which I get:
    When I click on the angle of this component I can resize it down and right.
    http://i.stack.imgur.com/jqoNW.png
    The components which are next to it are pushed down and right. Part of them are behind the visible part of the screen.
    http://i.stack.imgur.com/rsi0L.png
    All components are placed in BorderPane,VBox,HBoxand againBorderPane. I don't want to allow components to move. I want to shrink them and use Scrollpane` when their size is reduced. Can you give me some hits how to solve these two problems?
    Ref javafx 2 - Set location of components and reduce the size - Stack Overflow

    I did something similar the other day. Based on the resizing of the scene I adjusted the position.
    widthProperty().addListener(new ChangeListener<Number>() {
        @Override public void changed(ObservableValue<? extends Number> observableValue, Number oldSceneWidth, Number newSceneWidth) {
            widthChange((Double)oldSceneWidth, (Double)newSceneWidth);
    heightProperty().addListener(new ChangeListener<Number>() {
        @Override public void changed(ObservableValue<? extends Number> observableValue, Number oldSceneHeight, Number newSceneHeight) {
            heightChange((Double)oldSceneHeight, (Double)newSceneHeight);
    You should be able to do something similar, when you add a change listener to your component and handle the resizing of the other components.
    What I don't understand is why you would need a scrollbar, when the components shrink down. I would think it would be the other way round.

  • Set size and location of  a component

    Hello,
    Does anyone familiar with this org.netbeans.lib.awtexttra.AbsoluteConstraints(). I want to set the size and location of the component, and I know this org netbeans can provide this function.
    getContentPane().add(chkTausta, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 120, -1, -1));
    chkRakkennus.setSelected(true);
    chkRakkennus.setText("Rakennukset");
    then it comes an error that org.netbeans.lib.awtextra.AbsoluteConstraints()cannot be resolved. Does anyone know what�s the reason. Do I have to download other version of Java. I have Jre1.6.0?
    Does anybody knows is there another way to set size of component. For example, if I use borderlayout, and put a button to the west, then how can I set the location and size of the button?
    Thanks a lot for you help.
    Clare

    org.netbeans.lib.awtextra.AbsoluteConstraints isn't part of the JDK. I suggest you don't use that at all. Let a LayoutManager do the resizing.
    Have a look at the [Layout tutorial|http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html] especially gridBagLayout

  • TS3274 I have lost my location services on the setting list.  It now appears under privacy on the list.  I cannot use my cheat with friends it keeps telling me to go location and click on the cheat with friends to open it.  But it is not there!  Can you h

    I have lost my location services on my setting list.  It now appears under privacy in the settings list.  I cannot open ie cheat for words.  It says to go to location and click on cheat for words - but it is not there.  I have even deleted the app and reinstalled it and it still does not work.

    So, the only glimpse of hope for me is through IMEI tracking?
    Are there any professionals who do IMEI tracking( I dont mind paying them)? I don't trust the police here, they are damm slow..

  • AutoScrolling of PanelLayout and setting Location of dynamically created controls

    Hi, I have a question related to setting Location of dynamically created controls when my PanelLayout is scrolled down or up.
    So basically I have wrote a code that lets me drag on control over other other and replace their's locations.
    So I wanted to add possibility for user to dynamically add new controls (every new control is suppose to be 200px below previous) - everything is fine as long as I add them from upper section of my LayoutPanel (without scrolling) but when I try to add
    them while I'm half dawn scrolled they are placed based on CURRENT left upper corner which is NOT a upper left corner of LayoutPanel therfore they are placed with wrong padding based on current scrolled position.
    So my question is how can I avoid it and always add new controls based on LayoutPanel upper left corner? (I have already tried disabling AutoScroll while adding new control and enabling it back after adding - it works but I want to find PROPER way because
    I'm sure there must be some kind of solution to it)
    Thanks in advance.

    Hi darekg11,
    >> I have a question related to setting Location of dynamically created controls when my PanelLayout is scrolled down or up
    I am wondering what the PanelLayout was, was it a “flowLayoutPanel” or “tableLayoutPanel”?
    >> basically I have wrote a code that lets me drag on control over other other and replace their's locations
    Did you mean you drag the control at runtime or at design time?
    >> how can I avoid it and always add new controls based on LayoutPanel upper left corner
    I could not reproduce your issue, and could you share us some key code or a simple demo to reproduce your issue?
    I made a research about “scrolling panel”, and I think the link below might be useful to you:
    # Scrolling Panel
    http://www.codeproject.com/Articles/226381/Scrolling-Panel
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • I would llike to place all my content in one location and view, use or share it on my Apple devices as needed. What would be the best way to set that arrangement up?

    I would like to place all my content in one location and share and move it as needed to my various apple devices. What's the best way to do it?

    Hi,
    I would suggest that is going to be an involved and complex process.
    I would personally look into some of the invoicing and time scheduling software available and see if any fit your needs.
    Take a look here: http://www.tuaw.com/2008/07/30/app-roundup-timekeeping-and-billing/
    and here: http://www.tuaw.com/2008/07/31/app-roundup-timekeeping-and-billing-part-ii-the-q uickening/
    for starters.
    Best wishes
    John M

  • My Sony Cybershot has always connected directly to iPhoto, but I must have changed a setting somewhere, and now it opens in Finder. Very frustrating to have to locate and then drag pics to iPhoto. Would I reset in the camera menu or in System Preferences?

    My Sony Cybershot has always connected directly to iPhoto, but I must have changed a setting somewhere and now it opens in Finder. Very frustrating and I can't find where to change the settings - camera menu or Mac Preferences. Any advice?? Thanks

    No, not in iPhoto, but instead in Finder (only). I've tried going into the camera menu and making sure it's set on Mass Storage, but no difference. Then I tried Auto - but also no difference.

  • Location and size of hotspot in a packaged file

    Hi all,
    I'm working on a authorware program in which I want to use the location ans size of a clicked hotspot to draw a rectangle. Ultimately, I would like to be able to change the size/position of a hotspot, and when packaged, the rectangle should be drawn at the new position of the hotspot, with the new size. So far, I've been succesful in an unpackaged file with:
      GetIconProperty(@Title; #awSizeX))
      GetIconProperty(@Title; #awSizeY))
      GetIconProperty(@Title; #awLocationX)
      GetIconProperty(@Title; #awLocationY)
    where Title is the title of the clicked hotspot. So far so good... BUT I learned the hard way that GetIconProperty() does not work in a packaged authorware file (next time I'll first read the help section better!). My question: how can I obtain the same information in a packaged authorware file?
    I have been looking at the GetSpriteProperty() function, which should work in a packaged file. However, the hotspots are not sprites, and I don't know what spriteproperties I should use for the location and size of the hotspot  (#awSizeX, #awSizeY, #awLocationY, & #awLocationX don't work). Furthermore, GetPostPoint does provide the position of the top left pixel position of the hotspot, but I need separate X and Y values for the position of the hotpot to be able to use the Box() function to draw the rectangle. And I need the of the hotspot as well. Lastly, PositionY@Title and PositionX@Title don't work for my hotspots (the value is always 0 and does not change when clicking the hotspots).
    I could solve the problem by making variables of all the position values and size values of all the hotspots, but then I would not be able to change the position and size of the hotspot by dragging, and changing the rectangle accordingly.
    I would be more than happy to hear if anyone has a solution for me.
    Thanks!

    Hi Steve,
    Thanks for your suggestions! Regarding your first thought: I don't know what you mean by making my clickable area a hit *object. I've tried the help pages of authorware, but it drew a blank. Could you explain how I can make my clickable area a hit *object?
    Regarding clickX/Y: the values depend on the exact location where the user clicks, therefore drawing a rectangle over a picture (which is not moving) is difficult using clickX/Y. I would like the rectangle to appear on a certain spot (namely on the position of the hotspot, with the same width & height), regardless where in the hotspot the user clicks.
    Frank

  • Auto creation of Stor Location and Batch during stock upload via MI09

    Hi Experts!
    Please guide me to configure automatic creation of storage location and batch during stock count through mi09.  Eg : I got material A in storage location 1000 and got batch 123 for this material. Then when i want to do the stock count, if i enter the storage location 2000 and batch 122 for this material, then system will auto create this storage location and batch in the master data.
    I tried to configure it in OMJJ for storage location but it is not working. Please anyone guide me step by step how to configure it. Storage location and Batch.
    Thanks.
    Crystal.

    hi
    check this
    Create Storage Location Automatically
    In this step, you specify whether the automatic creation of storage location data is allowed for goods issues and transfer postings.
    This is advisable if you work with negative stocks and a material's first movement may be an outward movement.
    Note that the reversal movement for a goods issue, for example, movement type 202 or 262, is not considered as an issue but as a receipt. If you only use the automatic creation of storage location data for reversals of goods issues, you do not have to allow negative stocks.
    You have to allow automatic creation per plant first of all. You then have to explicitly allow the creation of storage location data for each movement type.
    The storage location data is only created if the quantity is posted to 'standard' storage location stock. It is not created for receipts into a special stock (for example, into sales order stock).
    Default settings
    The standard system is set in such a way that the storage location data is created automatically for all types of receipts (goods receipt with/ without reference, stock transfers, intial entry of stock balances, reversal of goods issues, etc.).
    Activities
    1. Enter for each plant whether the automatic creation of storage location data is generally allowed.
    2. Specify the movement types for which storage location data is created automatically.

  • Using Office 2013 group policy template to define Trusted Locations and Template Locations doesn't work

    User Configuration/Policies/Administrative Templates
    - Using Office 2013 group policy template to define Trusted Locations and Template Locations doesn't work
    Microsoft Word 2013/Word Options/Security/Trust Center/Trusted Locations
    - Allow Trusted Locations on the network: 
    Enabled 
    - Trusted Location #1: 
    Enabled 
    Path:  //server/sharedfoldername   [Edit:  Path:
    \\server\sharedfoldername]
    Date: June 10, 2013
    Description: Trusted Location
    Allow sub folders: Enabled
    The policy appears to apply to the client correctly by adding the following registry key and values:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\office\15.0\word\security\trusted locations\location1
    allowsubfolders: 1
    date: June 10, 2013
    Description: Trusted Location
    Path:  //server/sharedfoldername  [Edit: Path: 
    \\server\sharedfoldername]
    However, when you open Word Options/Trust Centre/Trust Centre Settings…/Trusted Locations
    There are no trusted locations listed under ‘Policy Locations’
    I have tried setting similar settings for setting the Shared Templates folder location and just like the trusted locations policy, the registry keys are created properly in HKEY_CURRENT_USER\Software\Policies however word doesn’t
    seem to recognize these either.
    This used to work flawlessly using the administrative templates for Word 2007 and 2010. Has anyone been able to get these policies to apply successfully, or know why office doesn’t recognize these settings from the Policies registry
    Key?

    This would have been an easy solution to the issue.  Unfortunately it isn't the problem.  This question was originally posted on another Microsoft site and
    was transferred here and when it was transferred the path's changed from the original post: 
    \\server\sharedfodlername to //server/sharedfoldername.  (I will edit the question to show up as it did in the original post) Not sure how that happened.  This
    is still an issue that I haven't been able to get working correctly.
    As it turns out the 'New from Template' interface Word 2013 has developed is very bulky with large thumbnails and is not very customizable nor practical for an office
    that has a large number of templates.   Because I am unsatisfied with the display and performance of the 'New' template chooser I sought after a solution to change the way word creates a document from a template in another thread: 
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/how-can-you-change-the-display-of-templates-in/d49194b9-a6b4-4768-8502-7d7b50e9dd65 working through this issue with Jay we were able to develop
    some VB script with handles a very large number of templates in a list view and it works much faster than the built-in Word interface.  The above thread is how I've worked around trying to define a shared template location and I am quite happy with it.

  • How can I set the default line height?

    Greetings,
    I have a report that displays observed behavior in a list format like the one below:
    Behavior Observed:   
        Withdrawn           
        Happy
        Sad
        angry
    There are 5 responses as to the severity of the behavior or it is left blank if the behavior was within normal limits.
    So the output would look like this:  
    Behavior Observed:   
        Withdrawn            (mild)
        Happy
        Sad                      (moderate)
        angry
    The problem is that when this report was designed the details sections were not uniformy formatted and the spacing between data elements is hard to follow from the label to the data field.  I tried to set the details to be uniform by selecting "Arrange Lines",  however when I do this, the data is displayed too close horizontally.  So my question is how do I set the default line height for each field so that they are uniform in distance from each other but not too close due to the font height?
    Does this make sense?
    Thank you,
    Kevin

    I'm confused... How are you associating line height with horizontal field spacing???
    If you have this...
    Behavior Observed:     Severity:
    Withdrawn          (mild)
    Happy
    Sad               (moderate)
    angry
    But want it to look like this...
    Behavior Observed:
    Withdrawn (mild)
    Happy
    Sad (moderate)
    angry
    all you have to do is create a concatenation formula. Something like this...
    {TableName.BehaviorObserved} & " (" & {TableName.Severity} &")"
    Sorry if I've misunderstood what you are trying to do.
    Jason

  • How can i dynamically varie the location and number of major grids in XY graph.

    Hi All,
        I'm supposed to plot some statistics in X-Y graph with x-axis scaled on time stamps. The plot generated has only one  major grid. Can I have a control over the location and number of major grids dynamically?
    Thanks,
    Saravanan.T 

    Hi Saravanan,
    use a property node "X scale.Range.Increment" to set the spacing of the major grid...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for

  • Wifi-menu not working.

    Everytime I try and connect to wifi, but i used the arch iso just to see if i can get wifi-menu working and it worked. Soo idk... $sudo wifi-menu Scanning for networks.... failed No networks found http://i.imgur.com/uLbKd9b.png

  • Problem with an ImageIcon

    hi, i have a problem. i have two JButtons with image icon, and i want to superpose another JButton with imageIcon on the first button. i really have to make a music keyboard, and that is for the black keys. i have all the white keys, and when a draw

  • Oracle 8i and DB2 Connectivity

    Hi, I dont know whether this is right forum to post this query. I want to connect to DB2 from Oracle 8i. I have read some documentation about Oracle gateways but it is not clear of how exactly we can connect to DB2. If any one has done this before pl

  • Delivery performance query

    Hi We have SD_C04 cube and created a Query (Delivery Performance). The cube extracted the data from FLAT FILES (2lis_12_vcitm and 2lis_12_vcscl). While running the query i have noticed the following issues: 1.   If multiple line items for a delivery

  • How to View Smart Form in Portal?

    I am not able to view the Smart Form in Portal. can any one give a soluton to this?