How do I make nfs automounted volumes visible in Finder?

or, in other words, have opposite option to default nobrowse?
from mount manpage
             nobrowse
                     This option indicates that the mount point should not be visible via the GUI
                     (i.e., appear on the Desktop as a separate volume).
this is edited mount command output from Mac Pro
mac-pro:~ ivarss$ mount
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
map autofs_nfs on /Volumes/lto5 (autofs, automounted, nobrowse)
/dev/disk1s2 on /Volumes/VFS HDD 0122 (hfs, local, nodev, nosuid, journaled, noowners)
varaklani:/nfs on /Volumes/nfs/faili (nfs, nodev, nosuid, automounted, nobrowse)
thanks!
shpokas

Well, when you add a component, it's size is 0,0 and it is located at the top left corner (0,0 point of its parent container). When you call pack(), the components are resized, and their placement is set.
So what you did wrong is that you're trying to repaint the panel1 - therefore panel2 never appears, since its dimension is 0,0.
THere's a solution though. Call the validate method of the container you add the component to - that is, jPanel1.validate() instead of its repaint method. Then panel1 will resize the components it contains. Then its not necessary to call the repaint, it'll be done automatically, because the container's graphics area is not valid any more after the validation.
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
     // Add your handling code here:
     JPanel2 p = new JPanel2();
     jPanel1.add(p);
     // jPanel1.repaint();
     jPanel1.validate();
}

Similar Messages

  • How do I make a bug report visible to others?

    I submitted a bug report and the conformation came back as follows:
    Your report has been assigned an internal review ID of: 164090
    This review ID is NOT visible on the "Java Developer Connection" (JDC).
    How do I make this bug report visible to others?

    You don't. The person dealing with it does if they reckon it's a real bug and worth bothering with.

  • How to create NAS nfs automounts in Mavericks

    So I had 3 automount nfs shares working in Mavericks last week, but for some odd reason all stopped working along with access to TimeMachine on my NAS and the ability to open disk images.
    After some digging I removed my automount modifications to auto_master in /etc and all started to work again... my problem now is how do I now get my 3 automounts to work again so Aperture and iTunes can see their content on my NAS...
    I had added this line to auto_master /Volumes/  -auto_share
    I had created a flie in /etc called auto_share and this contained the following
    Vault 
    -fstype=nfs,soft,intr,rsize=32768,wsize=32768,noatime,timeo=900,retrans=3,proto= tcp 192.168.128.20:/Vault
    Multimedia 
    -fstype=nfs,soft,intr,rsize=32768,wsize=32768,noatime,timeo=900,retrans=3,proto= tcp 192.168.128.20:/Multimedia
    Aperture 
    -fstype=nfs,soft,intr,rsize=32768,wsize=32768,noatime,timeo=900,retrans=3,proto= tcp 192.168.128.20:/Aperture
    This worked and then it stopped...
    Any help appreciated
    Andrew

    Hi Andrew, as promised, here is my login script. Substitute anything in and including <> for your info. Copy/Paste into AppleScript Editor, save as an .app and add to login items for a user. Logout script to follow.
    tell application "Terminal"
         try -- See if the NAS is awake, if not, wake it and give it time to appear
              do shell script "ping -c 1 <ip address>"
         on error
              tell application "Terminal"
                   try
                        do shell script "/Applications/wol -q -p=7 <mac address>" -- if the NAS supports WOL
                        delay 120 -- give more or less after timing NAS startup time
                   end try
              end tell
         end try
         try -- Make the mount points, repeat for how many are needed
              do shell script "mkdir /Volumes/<Dir1>"
              do shell script "mkdir /Volumes/<Dir2>"
         end try
         set success to 0
         repeat 5 times -- try the mounts 5 times, then bomb out
              delay 5
              try -- perform the mounts, change protocol formats as required (e.g. for SMB mounts "smbfs://..."
                   do shell script "mount -t afp afp://<user>:<password@<ip address>/<Share1> /Volumes/<Dir1>"
                   do shell script "mount -t afp afp://<user>:<password@<ip address>/<Share2> /Volumes/<Dir2>"
                   close every window -- close Finder windows that automatically open on mount
                   beep
                   activate
                   with timeout of 43200 seconds -- Display success dialog and wait up to 12 hours (doesn't need that long) for user to click "OK", reason: see last line, leave out if not needed
                        display alert "<Share1> and <Share2> are now available."
                   end timeout
                   set success to 1
                   exit repeat
              on error number errNum
                   tell application "Terminal"
                        quit
                   end tell
              end try
         end repeat
         if success is not 1 then -- the bomb out section
              beep
              activate
              display alert "Please check that NAS is on then Log Out and Log In again. ( " & errNum & " )"
         end if
         quit
    end tell
    tell application "<application name>" to quit -- auto-close any apps that you don't want running for this session, without OK message delay above, script will time out and this line won't execute

  • How can I make the cursor more visible?

    I have seen in some training videos a ring around the cursor to make it more visible. How can I get this ring around my cursor in Photoshop CS 3?
    Anyone knows? /Tommy

    This should do it:
    1. Go to systems preference  and click it.  (it'll be under the top L hand side, click the apple logo and "System Preferences" will appear in a drop menu)
    2. Go to Show All
    3. Click Universal (round blue shape with a person logo)
    4. Click Mouse
    5. Go to Cursor size (at the bottom of the page)  and adjust the size from normal to large.  Watch your actual cursor on screen so you can see how big or small you're making it.
    voila:   a change of arrow or cursor size.

  • How can you make movie clips partially visible?

    Okay, so this sounds simple, but I'm tottally lost... I'm a thirteen year old boy that has been using Flash for a little over 3 years. I program video games. I recently embarked on a game where one of the modes is to be split screen, player one gets the top half, player 2 the bottom. The promblem with this is that my game is based off of a moving background, where inorder to keep the main character centered the background moves instead of them. Becsause of this,when setting up split screen, the screen on the upper layer takes over the bottom because there would be more showing then there would be in the game: Parts would be off screen. I was wondering if there was anyway that using hitTest(s) (or some other method) you could make a movie clip partially visible/ invisible. I know the code for making something invisible when touching something else. But I was wondering if there was a way to make only the part of the movie clip touching another movie (it would have its alpha turned off... let's say it's a hitBox) or only the part of the movie clip touching the hitBox visible, invisible. Another way of looking at this is that I want a movie clip to be a small box, but inside I want their to be a huge picture. I want to make it so that when you move the picture different parts are viewable in this little box. And to make this as clear as I can... : I want to make a circle that I'll call the magnifying glass. I want to make an invisible picture that can be moved using code (I know that part). I want it so that when part of the picture is under the magnifying glass it's visible, not the hole thing, jus that circular area. Another reason I'd like to have this promblem solved is for a moving water effect. I want to make a movie clip and tween showing a square of rushing water, but without putting anything over parts of it (other than a hitBox) I want to make only a squiggly line of that water box visible. Thank you so much! =D I really hope you guys know! =D P.S. I also am currently using the trial of CS4, if that helps anything. But if it's only possible in AS3, then it's impossible to me because I use AS2 conservatively.

    Thanks... but I think you've misunderstood my question. I suppose magnifying glass wouldn't be the right word... I just wanted to explain that I want only the part of one mc touching another mc to be visible. I hope this isn't confusing. I have no need to enlarge an image. I want to make a movie clip only partially visible. Check out the fla.

  • How do I make the system clock visible on all screens - including when I am in full screen mode

    New to the Mac OS . . . I want a clock that persists.  Yes I can mouse near the top and see the clock but I have to move the cursor each time I want to see the clock.
    I tried a few floating clocks - but none of the ones I tried are visible in full screen mode.
    Is there a setting in Mavericks that will make the clock visible all the time?
    Thanks.

    Your best bet might be to set up the clock in Dashboard so you just have to press F12 to see it and dismiss it, even in full screen apps, without having to move your cursor.

  • How do i make use of Volume (E:)?

    It seems to be quite a waste of space if that "New Volume (E)" isn't utilised at all. Anyone able to tell me the purpose of that partition? if it is even called that, and can i actually use it to store data? P.S. I'm using Acer Aspire 5755G Thank you in advance.

    So it was created by the OEM(manufacturers of your laptop), It's empty and you can store your important data in that partition. HTH.

  • How can I make my MBP be visible to my Mac mini?

    I am on a home network.
    My Mac Book Pro sees my Mac Mini in the finder under devices.
    My Mac mini doesn't "See" my Mac book pro in its' finder.
    This must be a setting on the MBP?

    I figured it out..."tanks fer nuttin Danny"

  • How can I make my Pages & iViews visible for a new role

    Hi dear all
    I am making my first-step of Portal. I have generated some Pages and iViews for a new role, and assigned it to a new user, but when I logon with this user, I cannot see anything i have made, I don't know why.
    And I have generated a desktop, a display rule and a framework which is a delta link of the default one.
    Is it couse the problem of permissions? Please help, Thanks ~>_<~

    Hi guys,
    I have finished the reinstall of my SAP Netweaver server, and I have worked with your steps, it works now, so coool.
    Thank you sooo-much!

  • How do I make my edits permanently visible?

    I am trying to mark up a document but when I close and re open it the edits are hidden.  There must be some way to fix this.  I am using adobe acrobat pro.

    This forum is for question about Adobe Reader. Try a forum for Adobe Acrobat.

  • 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 space in my full HD finding the FATTY folders?

    Hi everybody...
    I have my 80G HD almost full, only 1.1G free. This happened suddenly without me doing nothing. I know I have to have at least 25% free. So I started checking my folders to choose which delete. The biggest one is iTunes with 3.5G.
    I REALLY need help with this and will appreciate it a lot. I'm not a tech soul.
    So, how can I delete 20G? Is there a software, Utilities that can help me with the task?
    I do have an external 250G HD but it's pretty full too. I keep my movies there.
    I emptied Safari's Cache too to no significant change.
    Needless to say my laptop is EXTREMELY slow now, taking ages to open.
    I mostly use daily: Safari, iTunes, Final Draft, Word.
    It also gets VERY HOT almost immediately after opening it with both fans running. Usually it's Safari the culprit, taking like 80% of the CPU when opened.
    I used Disk Utility to repair the HD.
    I know this Power PC is old but right now I can't buy a new Intel replacement.
    Thank you for any advice/directions on solving it.
    Cheers.
    Charles

    Hello Charly,
    How much free space is on the HD, where has all the space gone?
    OmniDiskSweeper is likely the easiest/best, and is now free...
    http://www.omnigroup.com/applications/omnidisksweeper/download/
    Also, open Console in Applications>Utilities & see if you have repeating messages making humongous log files.
    I think you should get Applejack...
    http://www.macupdate.com/info.php/id/15667/applejack
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 6 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 6 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Trash old Log files.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files! :-)
    Disconnect the USB cable from any Uninterruptible Power Supply so the system doesn't shut down in the middle of the process.

  • How can I make "gray" library titles in my finder selectable?

    I was going to continue editing my previous project but all previous folders have disappeared in the main window. They can be found when trying to "open library" but cannot be selected as they show up "grey". What can I do? Has the path changed somehow and what can I do about that?
    Thank you!

    What version of the software are you using? 10.1? These are old version events and projects. They need to be updated. In the File menu.

  • How to make direct selection handles visible against pasteboard?

    When I go to transform/resize images inside frames using the direct selection tool, I can't see the handles of the actual image because they are white against a white pasteboard.  I am using InDesign CS5 (ver 7.0.4) on a Mac. I have been using InDesign for a few years and never noticed this was a problem; all of a sudden, the handles seem invisble. I don't remember what the color scheme was before. (Maybe I am losing my mind). Did the colors change with an update? There is an option in preferences to select the color of the pasteboard, but this doesn't seem to have any effect. In the meantime, I can't find the handles to resize/transform images. I can input a percentage for scaling, but this is only useful sometimes. How do I make direct selection handles visible against the pasteboard?

    Not specifically a path. When I select an image in a layout with the selection tool, yes the frame border is the color of the layer. When I select the same image with the direct selection tool to see the full extent of the uncropped image, the border of the image is white with white handles. Since my pasteboard is white, I can't see the image border when it extends off my color layout and onto the pasteboard.

  • How can I make the Thumpnail  visible in WIN Explorer?

    My OS is Windows8/64.
    My product is PSE11.
    How can I make the Thumpnail ( Preview ) visible in Explorer ?
    Mein OS ist Windows8/64.
    Mein Produkt ist PSE11.
    Wie kann ich die Thumpnail (Vorschau) im Explorer sichtbar machen?

    Right mouse on the graph and select common plots. Under there you can select how you want to display your information. After selecting the display with points, you can go further down the list to Point Style to choose circles,squares etc....

Maybe you are looking for

  • Read Image from client

    I am trying to import the picture from the client, using WEBUTIL (v 1.0.2) Procedure looks like: DECLARE FILE_NAME VARCHAR2(200); File_Filter varchar2(30):='JPEG Files (*.jpg)|*.jpg|'; BEGIN FILE_NAME:=CLIENT_GET_FILE_NAME(NULL,NULL,File_Filter,NULL,

  • NEWBIE NEEDS HELP - NOT SURE IF THIS IS THE PLACE FOR THIS BUT

    Does anyone know where I can get an application that creates downloadable files like zip files - preferably that can be used for Mac or PC? I know WinZip or something does it but is there one for Mac? Contact me at [email protected] if you can help.

  • Automatic Reorder based Planning

    SAPers... I am trying to update re-order point automatically but with the following calculation: The Calculation is:  (Usage x Lead time / 7) + minimum stock Is there any way to build these custom calculations into re-order points to populate/update

  • Table with a column with RANK formula does not sort properly

    Hello, I have a table in excel with Rank function that reference another column with numerical values. The results in the column (called Rank) with rank function are as expected but Sorting (ascending or descending) doesn't work as expected on the co

  • Have Many Calendar Entries in the stand By Mode

    Hi there, Very glad to have purchase the N70. However despite the fact that I have many entries into the calendar itself. When I am on the stand by mode, I do see only the next appoitment that I have. Will it be possible to see more appointments into