How can i make a toolbar in a jdesktop?

we got a schoolassignment to make a small version of microsoft access. we chose to use a jdesktop as gui. but we can't find any examples of how to make a toolbar inside of a jdesktop.
can someone help us out?

A JToolbar is added to the JFrame (a toolbar can be ripped of as independent window).
A JDesktopPane is a container for JInternalFrames.
You might mimic a tool bar in a JInternalFrame, but as a JDesktopPane is sufficiently complex, I would not bother.

Similar Messages

  • How can i make 'hide toolbar' the default in finder

    Want to get rid of the Finder toolbar aka "Hide Toolbar" as the norm.  If it is a matter of turning the feature off completely and never seeing the side bar stuff and all the buttons, so be it.
    In short instead of this:
    I would like this
    for every window I open without having to manually turn the tool bars off each and every time a new (vs old) window is opened.
    Incidentally "FooCmd" is a project I am going to build that does this in some way. I should not have to write code... it should be something simple to make the windows in the finder more streamlined (isn't that the new way of Jony Appleseed?)

    Found a brute force way of this which walks a tight rope.
    First,close all of your Finder windows. Then delete all the hidden files named ".DS_Store" on every hard disk (volume) you have.  Then open a finder window on each disk, hide the toolbar with Command-Shift-T, then close the Finder window. After this, your default view for that disk becomes that last view you saw.  You have to do this for each disk which is kind of a pain but better than the "open folder, press command-shift-T" for every bloody folder.
    To do this via Terminal...
    1) Close all Finder windows (hold option key, close one of them)
    2) use SpotLight to find "Terminal" and launch Terminal
    3) type
                cd
    and a space in the terminal window after the ">" prompt appears
    4) drag and drop a hard disk into the Terminal window after the "cd ". This puts the "path" name in there...
    5) press return. This sets the default folder location for Terminal (default directory) to the hard disk
    6) run this command (copy and paste it into terminal, press return after pasting)
         sudo find . -name '*.DS_Store' -type f -delete
    7) when prompted, enter your administrator account password (yes, you need to be admin, sorry)
    This will take a long time if you have a big disk, lots of folders, etc.  The square 1970's terminal cursor will sit there and blink under the "P" in the word "Password" for quite a while. (shades of the original "Tron" movie). There may be a couple of errors spit out by this command line tool, don't worry it continues on riding it's little light cycle through your hard disk wacking only the ".DS_Store" files as it goes.  The program named "find" will be eating quite a bit of processor if you are into checking on that sort of thing with Activity Monitor or another Terminal window with "top".
    At the end you will have your display looking something like this (without all the red ink):
    You need to repeat for each disk you have. Be aware that if you set the view to the "show toolbar" and then open a new folder below, that button junk-loaded window view default starts to take root again and spreads. (technically it's not a virus but it sure acts like one).

  • How can i make a  flowing toolbar that stays in front of the main frame?

    I want to make a toolbar that has to stay in front of one of my JInternalFrame, this toolbar will have two buttons and they will change the states of some TextPanes in the JInternalFrame (font,styles, etc.). How can i do so?? how can i make it flow on the internalFrame? how can i make it interact with the internal frame's components? and how can i associate both of them ( their 'actionPerform') ??
    thank's

    You can check for problems with the <b>places.sqlite</b> database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/

  • How can we make the save button active in standard toolbar in outout of alv

    Hi experts ,
    I am using factory method to print alv with oops .
    Cancel , Exit and Back button are active by default in Standard tool bar  in output of Report , But Save button is not active , How can i make that save button active .
    Also Pls tell me how i can make editable to the cell in output , 
    My Code is like this :
    cl_salv_table=>factory( IMPORTING r_salv_table = gr_table CHANGING t_table = ispfli ).
      gr_functions = gr_table->get_functions( ).
      gr_functions->set_all( abap_true ).
      gr_display = gr_table->get_display_settings( ).
      gr_display->set_striped_pattern( cl_salv_display_settings=>true ).
      gr_display->set_list_header( 'This is the heading' ).
      gr_columns = gr_table->get_columns( ).
      gr_column ?= gr_columns->get_column( 'CITYTO' ).
      gr_column->set_long_text( 'This is long text' ).
      gr_column->set_medium_text( 'This is med text' ).
      gr_column->set_short_text( 'This is sh' ).
      gr_column ?= gr_columns->get_column( 'CITYFROM' ).
      color-col = '6'.
      color-int = '1'.
      color-inv = '0'.
      gr_column->set_color( color ).
      gr_sorts = gr_table->get_sorts( ).
    *gr_sorts->add_sort( 'CITYTO' ).
      gr_sorts->add_sort( columnname = 'CITYTO' subtotal = abap_true ).
      gr_agg = gr_table->get_aggregations( ).
      gr_agg->add_aggregation( 'DISTANCE' ).
      gr_filter = gr_table->get_filters( ).
      gr_filter->add_filter( columnname = 'CARRID' low = 'DL' ).
      gr_layout = gr_table->get_layout( ).
      gr_layout->set_key( key ).
      key-report = sy-repid.
      gr_layout->set_save_restriction( cl_salv_layout=>restrict_none ).
      gr_table->display( ).
    Rgds,
    Premraj

    Hi,
    1)you need to give the function code to that save in the Function Keys of that screen from the GUI Status.
    2) while filling the field catalog of that field you need to put the        
    wa_fieldcat_edit-edit = c_x.
    i.e use the edit and append to that field catalog internal table.
    for more infomation you can refer to below links:
    problem with alv edit and save
    *Edit* and *Save*  for the selected records in ALV
    solves your problem
    Thanks!!

  • How can I make my BCC recipients show up in MY sent emails?

    When I send an email to BCC recipients, how can I make those BCC recipients show up in MY sent emails...so I'll remember who I sent the email to?

    Welcome to the discussions, MacPat292.
    View/Message/Long Headers or if you are going to do it regularly View/Customize Toolbar and add the button for it to your toolbar.
    AK

  • How can I make my iPod show up in the iTunes menu bar?

    When I plug in my iPod nano (2GB) 2nd Generation it doesn't show up on the left side of my screen in the iTunes Menu Bar. I don't have the original cord, saying that I got it awhile ago, how can I make it show up?
    There is no content on my iPod currently, and I have tryed resetting all of the Settings and even taken all of the music off of it, but it is still not showing up. Do you have any suggestion son how to make it show up or even have the computer recognize that it is plugged in? -Thanks for your time!
    P.S.- I have also tryed plugging it into a Windows computer and a Mac.

    See Multirow Bookmarks Toolbar: https://addons.mozilla.org/firefox/addon/6937
    You can't place bookmarks on a new toolbar. You can only place a bookmark on the toolbar that has the "Bookmarks Toolbar items" on it.

  • How can you make your persona show on the top and bottom? Also can you make it bigger at the top to show more of the picture?

    How can you make your persona show on the top and bottom?
    Also can you make it bigger at the top to show more of the picture?

    Add extra empty toolbars if you want to see more of the persona.<br />
    You can create extra toolbars to get extra space via View > Toolbars > Customize<br />
    You have to put something on a toolbar (drag a Space item onto it) before closing the Customize window because empty toolbars are automatically removed.<br />
    See http://kb.mozillazine.org/Toolbar_customization

  • Firefox Health Report Vital Stats shows bookmarks 14, but Raw Data shows bookmarks 7917. How can I make Firefox Health Report Vital Stats show bookmarks 7917?

    All data in the about:healthreport Firefox Health Report page is accurate except for the persistently inaccurate bookmarks count in the Vital Stats section of the page, which counts only 14 bookmarks and fails to count the other 7903 bookmarks.
    The about:healthreport Firefox Health Report Vital Stats section shows bookmarks 14.
    The about:healthreport Firefox Health Report Raw Data page shows bookmarks 7917.
    The Firefox/Bookmarks/Show All Bookmarks/Library window shows 7910 items.
    How can I make the about:healthreport Firefox Health Report Vital Stats section correctly and accurately show "bookmarks 7917" instead of incorrectly and erroneously showing "bookmarks 14"?
    Platform: FF 36.0.4, Mac OS X 10.8.5
    Platform: FF 31.5.2 ESR, Mac OS X 10.8.5
    The following steps reveal the issue:
    (1) In the Firefox Navigation Bar, type "about:healthreport" (without the quotation marks) to open the Firefox Health Report page.
    (2) On the left side of the Firefox Health Report page, in the Vital Stats section, the following data appears: bookmarks 14. This is false data because the browser actually has 7917 bookmarks, not 14 bookmarks. All other data in the Firefox Health Report page is accurate.
    (3) In the Firefox Health Report page, click the Raw Data link to reveal all Raw Data.
    (4) Page Down approximately 10 pages to the following specific Raw Data:
    "2015-03-22": {
    "org.mozilla.addons.counts": {
    "_v": 2,
    "extension": 28,
    "plugin": 6,
    "theme": 1
    "org.mozilla.healthreport.submissions": {
    "_v": 2,
    "continuationUploadAttempt": 1,
    "firstDocumentUploadAttempt": 1,
    "uploadSuccess": 1,
    "uploadTransportFailure": 1
    "org.mozilla.places.places": {
    "_v": 1,
    "bookmarks": 7917,
    "pages": 4293
    5) The preceding Raw Data correctly indicates the following data: "bookmarks": 7917,
    6) Open the Firefox/Bookmarks/Show All Bookmarks/Library window.
    7) In the Library window sidebar, select the entry "All Bookmarks".
    8) In the Library window Search Bookmarks search bar, type the colon punctuation mark " : " (without the quotation marks) to reveal the entire list of all items (bookmarks) in the Library window.
    9) In the Library window, select any one of the items (bookmarks) in the list of items.
    10) Press the <command> <A> keys to select and highlight automatically all items in the items (bookmarks) list, and Firefox automatically will begin the process of counting all items (bookmarks) in the items list.
    11) After a counting interval of several seconds, the count of the total number of items (bookmarks) that are present in the items list appears near the bottom-center of the Library window: 7910 items.
    12) I installed the "Places Maintenance" add-on, selected the "All" preference, and executed the add-on, but it did not correct the issue.
    13) The about:healthreport Firefox Health Report Vital Stats section counts only 14 bookmarks and fails to count the remaining 7903 bookmarks.
    Note --
    On the support.mozilla.org/en-US/questions site, after selecting ASK A QUESTION and writing this question, I attempted to upload image files with the question, but I am unable to upload a JPG (97 KB) image file or a PNG (307 KB) image file because the "Add Images Browse" function appears to be broken.
    Each time I click the "Add images: Browse" button, select one of the image files, and click "Open" to upload the image file, a spinning gear appears in a square beneath "Uploaded images:", and the spinning gear continues to spin without stopping. The image file does not upload.
    While the gear is spinning, the message "Uploading <filename>.jpg" or "Uploading <filename>.png" remains constantly visible beneath the square that contains the spinning gear.
    I think the gear would have continued to spin for eternity if I had not reloaded the page after the gear had been spinning for a full 7 minutes.
    The image files would not upload.

    It could be the work of one of your add-ons.
    Type '''about:addons'''<enter> in the address bar to open your Add-ons Manager.
    Hot key; '''<Control>''(Mac:<Command>)''<Shift> A)'''
    In the Add-ons Manager, on the left, select '''Extensions.'''
    Disable a few add-ons, then '''Restart Firefox.'''
    Some added toolbar and anti-virus add-ons are known to cause
    Firefox issues. '''Disable All of them.'''
    If the problem continues, disable some more (restarting FF). Continue until
    the problem is gone. After, you know what group is causing the issue.
    Re-enable the last group '''ONE AT A TIME''' (restarting FF) until the problem returns.
    Once you think you found the problem, disable that and re-enable all the
    others, then restart again. Let us know who the suspect is detective.

  • How can I make Norton automatically move junk mail to a separate folder

    In my old Outlook Express email program, my Norton AntiSpam filter created a separate local folder and automatically put identified spam into it so it did not clog my inbox. How can I make Thunderbird allow Norton to do this?

    It seems Norton has not modified its toolbar or other features to work in Thunderbird. I found this thread encouraging Symantec to add Thunderbird, but it's very quiet:
    http://community.norton.com/t5/Product-Suggestions/Norton-support-for-Thunderbird/td-p/216120
    Thunderbird does have some spam filtering features (I only started using it recently, so mine is still in training...).

  • Realtek network card seems to be disappeared. how can i make it visible again for the OS?

    i can't access my LAN card. somehow it is disappeared. how can i make it visible again for the OS? my OS is windows 7. thanks very much for your help

    right click on the button bar, then select "customize toolbar", drag any button you like into the toolbar and you're done!
    Diego

  • How can I make lined pages in pages

    how can I make lined pages in Pages

    Well I just spent some time searching for that and found one round-about way:
    Open a document and choose Table in the toolbar.
    Open Inspector and choose Table.
    The default on mine was 3 rows and 3 columns - I changed that to fill up the page with horizontal lines and chose 1 column in the page width.
    That resulted in this (partial screenshot):
    That may not be what you wanted, but it's the only thing I found.
    FWIW, why do you need lines in a word processing app?

  • I exported a iphoto slideshow to desktop, converted it to mpg file by using BURN app, burned to DVD and exported to a USB flashdrive. The DVD looks great but flashdrive is extremely fuzzy. What is the difference and how can I make flashdrive sharper?

    I exported an iphoto slideshow to desktop, converted it to mpg file by using the BURN app, burned it to a DVD and exported it to a USB flash drive. The DVD looks great and very sharp but the slideshow on the USB flash drive is extremely fuzzy. What is the difference and how can I make the slideshow on the flash drive look as sharp as the DVD?

    Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  For iPhoto 9.4.3 and earlier select Size = Medium or Large. For iPhoto 9.5 and later selct 480p.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best quality video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process.
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailer like Amazon.com: ilife 09: Software or eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago.
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them.
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.

  • How can I make mail my default mail programme

    How can I make mail my default mail programme, I used to use entourage and now when I want to share I only have the option of entourage in the share list on safari

    Open Mail. Select Preferences from the Mail menu in the menubar. Click on the General icon in the toolbar. Set the desired default in the dropdown menu labeled "Default email reader."

  • We have recently upgraded to windows 7, how do i make the toolbars and panel pane larger. They are t

    we have recently upgraded to windows 7, how do i make the toolbars and panel pane larger. They are too small to view

    A larger monito is only helpful if the resolution is the same as your current monitor, and they tend to have higher resolutions as you get larger, so don't rush out an buy a larger monitor and expect miracles. If you have a 22" now and it's "HD" (1920 x 1080), you'll see some change as you go up in size, but you'd probably need at least a 27" screen at 1920 x 1080 to notice a real difference.
    Right click on the desktop and choose Screen Resolution and you can see the current settings (probably the maximum value which is recommended) and other settings you can use. Lowering the resolution will make everything on the screen larger, but less stuff will fit. Used to be, too that ID did not work will at less than the maximum resolution setting for any monitor.
    I did not mean to use the larger fonts feature, by the way, as far as I know that doesn't affect the ID user interface.
    The point I was making, rather badly, is that those of us with declining eyesight are getting shafted because there is no way to make use of all the monitor potential and adjut the user interface to make things visible. I just bought a 30" monitor to replace my old 27" which had 1920 x 1200 resolution and was pretty usable, things were about the same size as my old sony 20" running at 1600 x 1200, but even though it is larger in terms of screen size, the new monitor is even higher resolution and things are actually smaller. The only reason I can use it with ID is I know where everything is.

  • I've been trying to make an account with iTunes n everytime I get to the part of the credit card that's as far as I get because I dnt have one, how can I make an iTunes account without a credit card??

    I've been trying to make an account with iTunes n everytime I get to the part of the credit card that's as far as I get because I dnt have one, how can I make an iTunes account without a credit card??

    Where are you located?
    Just go and buy an iTunes gift card at any store in your country.
    Then follow all the steps you did, but when it asks you for the credit card number, there shoujld be a GIFT CARD option which will let you load your account witht eh funds form the gift card without providing a credit/debit card #.

Maybe you are looking for

  • Problems with Garageband 3.0.1, QT 7.0.4 and OSX 10.4.5

    I have just started to use GB3 after upgrading from GB2. Now exporting to iDVD and Quicktime are greyed out. Is there some 'option' needed to enable such exports?

  • Tns error

    Hi I am getting tns error below .we noticed that queries are disconnecting in between execution with ora-3113 error.I am getting error in sqlnet.log in server side VERSION INFORMATION:      TNS for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Produ

  • I have to re install CS4

    I have to re install CS4 and wish to know if I have to uninstall it first, or do install over the present copy. If I have to uninstall it how do I go about doing it. The problem is that CS4 is not showing the Canon printer profiles. Canon support nar

  • AP1242 Not joining 4404 controller

    Hi all Can anyone please help, my 1242 access points will not join my controller, I have done a debug and can see the Access point sending a discovery request, then the controller says discovery request sent, but then nothing happens, any ideas what

  • Sound doesn't play on imported clip - help!

    I am using a g4 notebook with OS 10.3.9. I am creating a movie using a lot of still pictures to create a slideshow, but am trying to insert a video clip I took using my camera phone. I converted the movie to a QT .mov but when I import the movie into