Alias icons in disk images - not showing correctly

Hi,
I already posted about this problem on Macworld Forums, so far no answers. Maybe here I'll get some.
The problem is:
whenever I download an app from the Internet, it mostly comes as a disk image. And it's OK if the DMG file contains only app and "read me" file. But more often it contains the alias to /Applications folder.
That's the problem:
the icon for that alias does not show properly, it always generates some icon with another icon above it. Issuing "Get Info" (Cmd-I) command, and tabbing to the icon, then deleting that annoying icon, restoring to the default one, does not work.
Any ideas what should I do?
Thank you.
iMac SE Graphite   Mac OS X (10.3.9)  

Hi Sanjin
So it is more than only disk images but a system wide problem, in that case, a general approach is needed.
I suggest you run Repair Disk on your start up drive, from your install DVD.
The startup drive can only be repaired from another drive. Simply loading the install disk is not sufficient. You have to boot from the install disk.
To do this: Insert the Install Disk 1 into the drive and then select Restart, then continue to hold down the C key until the Apple logo appears.
This will take you to the installation software, but you do not want to install.
Select your language, then go up to the top menu bar to Utilities and navigate to the Disk Utilities application.
Select the start up drive, then follow the instructions in the First Aid pane where you can click on Repair Disk.
If it finds errors, repeat the process until it reports no errors.
After these repairs, quit the application, and restart normally.
Once restarted normally run Repair Permissions. from the Disk Utility application found on your hard drive in Application/Utilities.
regards roam

Similar Messages

  • Images not shown correctly i addon store

    I Have a questions regarding the Adobe® Exchange Producer Portal. If this is not the correct forum, please do direct me to the correct channel.
    Images not showing correctly on the product page in the addons store.
    See page https://creative.adobe.com/addons/products/5132#.VL4rTy5GySM
    For instance the preview images are not showing correctly.
    The url https://portcullis-production-us-east-1.s3.amazonaws.com/0/5132/26a19cfe-663d-49f4-86f4-fd 4b2d6a338b.png returns status code "403 Forbidden"

    If this is your product, please submit a metadata change request with new images uploaded. That should solve the problem.

  • C:/ disk is not showing on my computer window server 2003 standard edition (UCCX7.0)

    Hi all,
    Today I was checking the server and I find that C: disk is not showing Under "My computer" whereas it is showing under disk management and its status is okay. Please tell what the problem and how I resolve that issue? Because server is in production and we can't afford sudden downtime.
    Regards
    Ali Raza

    Hi Walter,
    OS image is 2003.1.5.
    Regards
    Ali Raza

  • The web site of Adobe does not show correctly in FireFox

    I have a bizarre problem.  The site of Adobe (including where I can download the flash player) does not show correctly in FireFox and I only see it as a text HTML page, but without most images (typically, for instance, I do not see the image "Download now" but see a text line "Dowload now", and so on...
    This seems to specifically affect the Adobe web site as I have no problme for other web sites (so far).
    It is something specific to FireFox as  I do have the problem with Internet Explorer.
    The problem persis even if I restart FireFox without any add-on (safe mode).
    Any suggestion ?

    Does this only happen in Firefox?  What do you see with Internet Explorer or Chrome?  If it is only Firefox, I'd try these steps in this order:
    1. Clear your cookies and cache
    2. Reset your Firefox settings
    3. Make a new profile
    Chris

  • Another Images not Showing up thread

    I know there are multiple threads out there about images not showing up on the login page of application express, and I have browsed most of them without success.
    My images folder is in:
    C:\oracle\product\10.1.0\db_1\Apache\Apache\images\
    My dads.conf file has specified:
    Alias /i/ "C:\oracle\product\10.1.0\db_1\Apache\Apache\images\"
    Address of missing image in I.E. is:
    http://<host>:7777/i/htmldb/apex_logo.gif
    When I ran @apexins I specified /i/ for the virtual images directory.
    I am running Oracle Database 10gR2, with Oracle HTTP Server that came with the Oracle Database 10g Companion CD Release 2.
    I am using APEX 3.2.
    When I try to go to
    http://<host>:7777/i/
    I get:
    You don't have permission to access /i/ on this server.
    I also cannot login to APEX. When I type my username/password and click the Login button, it does nothing (nothing loads, nothing changes... nothing happens). I don't know if this is related?
    Thank you,
    ~Tom

    I found the problem -
    In my dads.conf file I had:
    Alias /i/ "C:\oracle\product\10.1.0\db_1\Apache\Apache\images\"
    When I really needed:
    Alias /i/ "C:\oracle\product\10.1.0\db_1\Apache\Apache\images/"
    Note the end slash after images changed from backslash to forward.
    Silly me.

  • Images not showing in the jlabel/jbutton

    Hello all,
    I've a package in which my cards directory is located along with all my src files and compiled classes. All my images ****.gif files are inside this directory.
    Then I've following the icon object.
    protected static JLabel lblDeck;The following code is used to get the image.
      String imgPath;
         imgPath = isImageExists("imgBG1.gif");
              if (imgPath == "")
              {     // If the image of Card Deck(imgDeck) is not Found
                   lblDeck = new JLabel();
                   lblDeck.setBackground(new Color(0, 64, 128));
                   lblDeck.setOpaque(true);
                   flagImgDeckFound = false;
              } else {
                   // If the image of Card Deck is Found
                   imgDeck     = new ImageIcon(imgPath);
                   lblDeck = new JLabel(imgDeck);
    // Check if the image exists else return "";
      protected String isImageExists(String imgName) {
              java.net.URL imgURL = getClass().getResource("cards/" + imgName);
             if (imgURL != null)
             {     return (imgURL.toString());     }
             else
                  JOptionPane.showMessageDialog(null, "File not Found: " + imgURL);
                  return "";
         }I'm still unable to get the image in the jlabel!
    When i checked the path, it is exactly returning the path of the file.
    But its neither loading the image into the jlabel nor is it returning "".
    This is just the label part i've other jbuttons also. Even they are not displaying any images.

    aLkeshP wrote:
    can everyone see this thread?
    YES FER-CHRISE-SAKE.
    Just how many times do you intend posting the same identical question?
    images not showing in the jlabel/jbutton
    Problem in imageicon
    iconImage on JButton & JLabel
    Re: images not showing in the jlabel/jbutton

  • Crystal Report Images Not Showing - JSP inside /WEB-INF folder

    Hi Experts,
    I am using Crystal report for Eclipse and also using Struts2 and tiles framework combination.
    The problem is when viewing the report all I've got is red X on all images and the graph image also not showing. This is when I use tiles and my jsp is inside the web-inf folder.
    This is my struts link: href="s:url value='/report/reportOpen.action?report=1'
    I've checked that the path to the viewer generated HTML is not correct. see code below.
    src="../../../crystalreportviewers/js/crviewerinclude.js"
    But when I test to access a simple jsp viewer that resides on the web root folder, this works fine but of course this is not what I want to have. I need to have my banner and menus on top of the report page (using tiles)
    This is my jsp link: href="s:url value='/ReportViewer.jsp?report=1'
    Viewer generated HTML below.
    src="crystalreportviewers/js/crviewerinclude.js"
    This might be a common problem and that you can share to me your solution.
    Note: I removed the script tags because I can't submit this entry.
    Thank you  in advance,
    Regards,
    Rulix Batistil
    Crystal Report Images Not Showing - JSP inside /WEB-INF folder

    Hi Saravana,
    After a few experimentation from your idea i was able to figure out the problem and now it is working.
    I don't have to copy the folder to where my jsp resides but still maintains it in the root location:  web/crystalreportviewers
    The changes should always be in web.xml.
    1st: change the crystal_image_uri value to ../crystalreportviewers
    2nd: change crystal_image_use_relative value to "web"
    Change to "web" instead of webapp because that is what I named my web root folder.
    <context-param>
              <param-name>crystal_image_uri</param-name>
              <param-value>../crystalreportviewers</param-value>
         </context-param>
         <context-param>
              <param-name>crystal_image_use_relative</param-name>
              <param-value>web</param-value>
         </context-param>
    Thank you. You showed me the way on how to solve the 3 day problem.
    BTW, my next problem is when clicking on any buttons prev/next/print/export, I got this error HTTP Status 404.
    Well, at least for now I can view my initial report.  I just need to figure out the next issue and with the help of the great people here in the forum.
    Thanks a lot.
    Regards,
    Rulix
    Edited by: Rulix Batistil on Nov 26, 2008 7:27 AM

  • Site does not show correct on Samsung Tablet

    Hi all,
    I've seen a few questions regarding Muse sites not being displayed correct on a Samsung Tablet. My problem is similar but still different. The site is displaying correct on the desktop/ipad/iphone but not on the Samsung Tablet.
    In the previewt his is not shown. Now I also know that the preview more or less simulates how a site should look.
    This is the site: www.uwpersoonlijkeoptieadviseur.nl (a dutch site).
    I have looked at the links and they seem to be ok. I mean all the links link to the Tablet version.
    cheers,
    Larry

    Hi sanjit, the thing is that on a samsung tablet from around 3 years old the problem occurs. But on a samsung tablet almost a year /2years old the site displays correct.
    Both of them has got android 4.04
    See the image with the specs in which it loads correct.(white background)
    And here the specs of a older one (dark grey one And arround 3 years old)
    And this problem occurs:
    So on a newer tablet it shows correct.
    Verstuurd vanaf mijn iPhone
    Op 1 apr. 2014 om 17:22 heeft Sanjit_Das <[email protected]> het volgende geschreven:
    Re: Site does not show correct on Samsung Tablet
    created by Sanjit_Das in Help with using Adobe Muse CC - View the full discussion
    Hi Larry
    Please let me know if there is any specific page element not showing up correctly on Tablet.
    Also which browser are you using , browser version would help. Do you see the same problem with any other browser on same tablet.
    The device details would also help.
    Thanks,
    Sanjit
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6261109#6261109
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6261109#6261109
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6261109#6261109. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Disk image not mounted

    I have had a host of problems since i installed a Time Capsule. The latest is that after reinstalling my system software -- another story -- I have not been able to make back-ups. The message I get is back up failed, disk image not mounted. What is this? On my time capsule there is a disk image of my hard drive on a dog eared page called a sparse bundle. I'm sure this is easy, but I'm stumped.

    huk730,
    Welcome to the Apple discussion!
    Consider the following causes of that error message. Also bear in mind that when you reinstall the system software, Time Machine cannot continue using the same backups as before and will start a fresh set of backups. [http://support.apple.com/kb/TS1338]
    *_"The Backup Disk Image Could Not Be Mounted" (Console - “Failed to mount disk image”)_*
    First, it is important to distinguish this error message from another, similar Time Machine error that states “The backup volume could not be mounted”. This is important as the causes and cures for these two errors can be very different.
    Consider each topic below separately. When one option does not resolve your issue, then move on the next one.
    *Unmount the Backup Disk Image* (TC)
    If, for some reason, you have manually mounted the Time Machine backup disk image (sparsebundle), or Time Machine failed to eject it after the previous backup, subsequent backups may fail. (Console - “Failed to mount disk image”… “Backup failed with error: 21”)
    Eject the backup disk image (white drive icon) by either clicking the little Eject icon to the right of the disk image in the Finders’ Sidebar, or Ctrl-Click the drive icon on the desktop and select “Eject” from the contextual menu. Now try backing up again or launching Time Machine to view previous backups.
    *“Disconnect All Users…”:*
    If your Time Machine backup drive (“Backup of Users Computer”) is mounted on your desktop or in the Sidebar of the Finder window. then Time Machine may think the drive is already in use. Alternatively, if the Time Capsule hard disk has been recently accessed by a Windows machine, it may not have fully relinquished control. Do the following:
    Open Airport Utility and select the Time Capsule on the left.
    Click “Manual Setup”.
    Select “Disks” at top of window.
    Click “Disconnect All Users…” at bottom of window.
    Close the Airport Utility.
    Now try Backing up again.
    “I got it resolved. Apparently it had to do with one of the files being open on the disk from the drive. I had browsed the disk with one of my windows boxes here and it must have left one of the folders "open". Anyway, I rebooted the TC and we are good to go now.”
    *Proper Computer Name* #
    Make sure your computer has a proper name. Go to System Preferences --> Sharing. Time Machine needs to differentiate your computer from others on your network (i.e. "Bills MacBook" or "Office iMac"). If the "Computer Name" field is blank, create a name. Realize that if this step is necessary, you will likely have to start the Time Machine backup process over again and do another full initial backup.
    According to this article, [http://support.apple.com/kb/TS1760], Time Machine may experience problems if your computer name includes certain characters. Make sure the computer name only includes ASCII characters from the following set.
    (0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ)
    Once a change in the computer name occurs, you should stop and restart Sharing on the affected computer. Uncheck and then recheck Sharing in the Services list on the left.
    Let us know if any of the above was helpful.
    Cheers!
    Message was edited by: Glenn Carter

  • Lion: Finder: Column View: Date Last Opened is not show correctly

    Hi Folks,
    I have upgrade my macs from 10.6.8 to 10.7.
    I am using the column view in the finder and I noticed that the
    Date Last Opened is not show correctly in the preview column.
    If I use the the list view and show the column Date Last Opened
    all dates are correct. Using the column view, the Date Last Opened
    allways matches the Date Last Modified.
    The attached screenshot shows an example with the same
    file at in both views mentiond above.
    I have noticed this problem with internal and external drives
    using the filesystem Mac OS Extended (Journaled).
    Is there way known to fix this behavior. In Snow Leopard it worked fine.
    Thank you for your support.

    Same here, however I found a strange work around.
    Go to your applications folder, for instance. Click the gear icon, go to Arrange By, then select Date Last Opened. It will correctly show the last opened time and arrange them accordingly. Switch back to arrange by name and the last opened date reverts back.
    It's not a bug, it's a feature!

  • I have installed Adobe Premiere Pro cc on my laptop, but I cant find a way to start the program. No Icon, and it is not showing up in the start meny. It is showing up in add/remove programs, but nt anywhere else.

    I have installed Adobe Premiere Pro cc on my laptop, but I cant find a way to start the program. No Icon, and it is not showing up in the start meny. It is showing up in add/remove programs, but nt anywhere else.

    If you are using a Mac, simply hit Command-Spacebar to bring up Spotlight Search.  Begin typing the name of the application and when you see what you are looking for, press enter.  You should get a hit by the second or third letter you type.  Great way to launch apps on computers that you are not familiar with.
    Windows 7 and 8 should have something similar.  I think you simply press the Windows key and begin typing.  Press enter when you see a match.
    Both Mac and Windows search tools can be customized to search for applications, files, emails and so forth.  For Windows, look for Taskbar and Start Menu Properties.  For Mac, go to Preferences Spotlight.  Turn off items you know you won't need to speed up searches.
    Make Windows 7 Start Menu Search Find Your Applications Faster

  • JPG images not displayed correctly in Bridge and Photoshop (Mac OS)

    (Note: I have copied the content of this query from the Creative Suites forum where I originally opened it.)
    I am using CS4 under OSX 10.4.11 on a PowerMac G5 Quad with 23" Apple cinema display. Images which have been captured as JPG are displayed fine by Preview, but when opened in Bridge, Camera Raw or Photoshop. the colours are all "washed out". The attached screen capture should give an idea of the difference, with the upper being Camera Raw (image settings) and the lower being Preview. My monitor has been calibrated and I'm using sRGB IEC61966-2.1 colour space in Camera Raw and Photoshop. The colours displayed by Preview are pretty close to "real life". I find it virtually impossible to adjust the colours in Photoshop to get back to anything similar.
    After opening the image in Photoshop without adjustment, and Save As JPEG with embedded color profile, Preview displays the new image the same as Photoshop. Save As JPEG without embedded color profile, and Preview displays this copy just like the original. It seems that Photoshop is making different (incorrect) assumptions about what color space to use when there is no embedded color profile. Shouldn't it assume sRGB like virtually everything else (http://en.wikipedia.org/wiki/SRGB)? Or is its interpretation of sRGB incorrect? How can I fix this?
    Re: JPG images not displayed correctly in Bridge and Photoshop 

    xxxxyyyyz wrote:
    …If there is someone out there who has experience of obtaining decent colour management in CS4 on a Power PC, I would really like to know how you achieved it.
    That would be yours truly, and I hasten to reply because I may have some insights that can help you too.
    Just get it it out of the way, here's my setup:
    Photoshop 11.0.2 ("CS4"); VersionCue disabled and uninstalled.—2.5 GHz Power Mac (PPC) G5-Quad; 16GB RAM; mutant, flashed 550MHz nVidia GeForce 7800GTX 1,700MHz 512MB VRAM; ATTO ExpressPCI UL5D LP SCSI card; Mac OS X Tiger 10.4.11 and Leopard 10.5.8 boot drives; Spotblight, Dashboard and Time Machine permanently disabled; dual 22" CRT monitors; USB wireless 'n' available but connected to the Internet via wired Ethernet; 1 FW flatbed scanner; 2 SCSI scanners (one tabloid-size transparency scanner and a film scanner); various internal & external HDs; FW Epson 2200 and Ethernet Samsung ML-2850ND printers; 2 X Back-UPS RS 1500 XS units.
    I can unambiguously and in good faith represent to you that my color management, from capture to print, is as spot-on as anyone with any kind of setup can hope to achieve.  Unequivocally and without qualifications.
    Now, first things first:  Forget about trying to synchronize color management across the point applications lumped together only by Adobe marketing fiat into a variety of meaningless "creative suites".  Concentrate on Photoshop.  Do not try to use Bridge to synchronize anything.
    The "suites" are a totally artificial construct created by Adobe bean counters and marketing types.  The point applications (i.e. the individual programs clumsily bundled together, e.g. Photoshop, Illustrator, InDesign, etc.) are developed independently by separate engineering teams that are not only not in the same building, but in different cities, different states of the American Union, and even in different countries.  They have very little communication among them, if any, as evidenced by repeated posts in these forums by Photoshop engineering staff urging us, the end users, to let the other teams know in their own forums that a given problem exists and is actually affecting our work.
    Enough said about the cause of the problem.  The end result is that Color Management is at very, very different levels of progress and sophistication in each individual point application, with only Photoshop fully entitled to be considered state of the art.
    Secondly, a disclaimer:  I have been hanging on to my CRT monitors and take care of them as Jascha Heifetz used to take care of his Stradivarius.  I don't know what I will do if I manage to outlive the usefulness and accuracy of my CRTs (unlikely at this point).  I have despaired in futile efforts to bring the luminosity of any LCD monitor down to where I would feel comfortable calibrating and profiling it.  I believe my monitors are the foundation of my color management efforts.
    Especially if you have one of the extreme wide-gamut LCD or LED monitors, you'll face an uphill battle. 
    Be careful to avoid any version 4 icc profiles, whether canned or generated by your calibration software.  Stick to version2 icc profiles.  Ask the manufacturer of your calibration software/hardware if in doubt.
    Here are some not-too-recent, but thoroughly representative screen shots of the calibration results I obtain with my monitors, which I calibrate and profile often and regularly (I validate the calibration at least several times per month).
    In a nutshell, my color management practices and settings mirror those described by Bruce Fraser, Jeff Schewe, Andrew Rodney and Gary Ballard's site.  I have learned from all of them.
    My working color space is ProPhoto RGB.  I choose to work with PSD and PSB files.  As a long-time, rabid JPEG hater, I only rarely deal with JPEGs, using them sporadically to illustrate a point in this forum or elsewhere in the web.  My main output consists of prints.
    I only deal with tagged image files (files with an embedded color profile) and often recommend beating up with a baseball bat any moron that hands you an untagged file—figuratively of course, but I find the expression gets my point across unambiguously.
    Following is a screen shot of some of my pertinent settings:
    Note that I have never bought into the "suite" concept myself.  I do have and routinely use Adobe Illustrator 10.x, InDesign 2.x and Acrobat Professional 8.x, but they are all older, independent versions of each point application, licensed at different times.
    Be further advised, that the answer to many problems offered by Adobe engineers often is not to install VersionCue, or uninstall it, or at least disable it.
    Also, as outlined at the beginning of this post, concentrate on Photoshop, not on synchronizing applications that can't really communicate with each other, despite the claims of Adobe marketing hacks to the contrary.
    One big caveat, do not fall into this trap:
    xxxxyyyyz wrote:
    …I believe my problem has nothing to do with my monitor profile, for several reasons, but…
    …It seems extremely unlikely to me that…
    You either want to learn, or you don't.  You either want to solve your problems, or you don't.
    When you start arguing instead of studying, questioning advice instead of following it and detecting where you went wrong, you're on the right track to nowhere.  That attitude will get you there fast.  Remember you are the one with the problem, and only you can acquire the discipline to learn how to solve it.
    Go ahead and ask me anything that is not clear, just don't argue with me please, and don't tell me why you think Fraser, Rodney, Ballard and I are wrong.  You see, I am not experiencing any problem that needs fixing.  I have an interest in helping you, but not in hearing about your speculations, theories or conclusions.
    Good luck.
    Wo Tai Lao Le
    我太老了

  • Not showing correct output when parsing the date

    //WAP the gives the details of employees
    import java.io.*;
    import java.util.*;
    import java.text.Format;
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    class employee
      private String nm,curr_dt;
      private Date dob,doj;
      private int salary;
               employee()
                  nm="\0";
                  dob=null;
                  doj=null;
                  curr_dt=null;
                  salary=0;
               void getdata()throws IOException
                  String dt;
                  BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
                  //we can create date with these 3 type of objects
                  Format fm=new SimpleDateFormat("dd-mm-yyyy");
                  DateFormat df=new SimpleDateFormat("dd-mm-yyyy");
       //object of base class are type compatible with the object of derived class
                  SimpleDateFormat sdf=new SimpleDateFormat("dd-mm-yyyy");
                  System.out.print("\nEnter the name of Employee : ");
                  nm=br.readLine();
                  try{
                  System.out.print("\nEnter the date of birth of Employee : ");
                  dt=br.readLine();
                  dob=(Date)fm.parseObject(dt);
                  System.out.print("\nEnter the date of joining of Employee : ");
                  dt=br.readLine();
                  doj=df.parse(dt);
                  }catch(ParseException e){
                  Date d=new Date();
                  curr_dt=sdf.format(d);
                  System.out.print("\nEnter the salary of employee : ");
                  salary=Integer.parseInt(br.readLine());
               void putdata()
                  System.out.println("\n\n\nEmployee Name : "+nm);
                  System.out.println("\nDate of birth : "+dob);
                  System.out.println("\nDate of joining : "+doj);
                  System.out.println("\nCurrent date : "+curr_dt);
                  /*if((doj-curr_dt)>1)
                       salary+=3000;
                  System.out.println("\nSalary of Employee : "+salary);
    class emp
      public static void main(String str[])throws IOException
           employee emp[]=new employee[1];
           System.out.println("\nEnter the detail of employees \n\n");
           for(int i=0;i<1;i++)
                emp=new employee();
    emp[i].getdata();
    System.out.println("\n\nDetail of employees are\n\n");
    for(int i=0;i<1;i++)
    emp[i].putdata();
    }*Output:*
    Enter the detail of employees
    Enter the name of Employee : Rajendra Sharma
    Enter the date of birth of Employee : 10-10-1979
    Enter the date of joining of Employee : 05-09-2004
    Enter the salary of employee : 2000
    *it is not showing date in the "dd-mm-yyyy" format and not showing correct month as well*
    Detail of employees are
    Employee Name : Rajendra Sharma
    Date of birth : Wed Jan 10 00:10:00 IST 1979
    Date of joining : Mon Jan 05 00:09:00 IST 2004
    Current date : 17-08-2008
    Salary of Employee : 2000                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    Use below code that will help u to sort ur problem.
    import java.io.*;
    import java.util.*;
    import java.text.Format;
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    class employee
    private String nm,curr_dt;
    private Date dob,doj;
    private int salary;
    private String dobb,dojj;
    employee()
    nm="\0";
    dob=null;
    doj=null;
    curr_dt=null;
    salary=0;
    void getdata()throws IOException
    String dt;
    BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
    //we can create date with these 3 type of objects
    DateFormat fm=new SimpleDateFormat("dd-mm-yyyy");
    DateFormat df=new SimpleDateFormat("dd-mm-yyyy");
    //object of base class are type compatible with the object of derived class
    SimpleDateFormat sdf=new SimpleDateFormat("dd-mm-yyyy");
    System.out.print("\nEnter the name of Employee : ");
    nm=br.readLine();
    try{
    System.out.print("\nEnter the date of birth of Employee : ");
    dt=br.readLine();
    dob=(Date)fm.parseObject(dt);
    dobb= fm.format(dob);
    System.out.print("\nEnter the date of joining of Employee : ");
    dt=br.readLine();
    doj=df.parse(dt);
    dojj = df.format(doj);
    }catch(ParseException e){
    Date d=new Date();
    curr_dt=sdf.format(d);
    System.out.print("\nEnter the salary of employee : ");
    salary=Integer.parseInt(br.readLine());
    void putdata()
    System.out.println("\n\n\nEmployee Name : "+nm);
    System.out.println("\nDate of birth : "+dobb);
    System.out.println("\nDate of joining : "+dojj);
    System.out.println("\nCurrent date : "+curr_dt);
    /*if((doj-curr_dt)>1)
    salary+=3000;
    System.out.println("\nSalary of Employee : "+salary);
    class emp
    public static void main(String str[])throws IOException
    employee emp[]=new employee[1];
    System.out.println("\nEnter the detail of employees \n\n");
    for(int i=0;i<1;i++)
    emp=new employee();
    emp[i].getdata();
    System.out.println("\n\nDetail of employees are\n\n");
    for(int i=0;i<1;i++)
    emp[i].putdata();
    thanks,
    prabhu selvakumar.

  • SharePont 2013 Document Library lookup Column Properties not Showing Correctly when editing in Word

    Hi
    I keep seeing this issue albeit intermittently.  I have set up a doc library for my users which has a custom content type (lookup, metadata columns, etc)  . They all appear perfectly most of the time except the lookup column. Sometimes is just
    decides to display the title field of the current library and not the lookup list title .  It is weird as it has been working perfectly for ages given the library is populated with valid documents.
    There are some fixes listed here. Has anyone got any experience of this?
    https://social.msdn.microsoft.com/Forums/azure/en-US/e0b55531-509c-4219-8113-61b3e488de69/document-library-metadata-properties-of-a-content-type-do-not-show-correctly-when-editing-in-word?forum=sharepointdevelopmentprevious
    Freelance consultant

    Hi,
    According to your post, my understanding is that the lookup  column not display well while editing in word.
    Did you customize the Document Information Panel?
    I recommend you edit your custom document information panel or create a new document information panel, then re-publish it to check whether it works.
    https://support.office.com/en-gb/article/Create-or-edit-a-custom-Document-Information-Panel-for-a-content-type-b701a9af-3ea6-4c1a-9e1c-75363bd987c9?ui=en-US&rs=en-GB&ad=GB
    Or you can also use the methods in the post you have pasted to check whether it works.
    As the limitation of the environment, we could not reproduce the issue in our environment.
    I  would suggest you open a case to Microsoft Customer Service via Phone.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Characters codes are not showing correctly in my wesbite. I use other browser it works but her ein mozilla its not. Please help

    This is my site http://globaledsource.com/ then the characters is not showing correctly. This is what happen in my site http://globaledsource.com/wp-content/uploads/2013/03/MAS_ThemeProbleme-1024x1024.jpg

    Hi paulique, the simplest next test would be to disable all plugins and extensions (except Shockwave Flash, which is pretty much indispensable) here, restart Firefox, and see whether your font works without them:
    orange Firefox button (or Tools menu) > Add-ons > Plugins category<br>
    orange Firefox button (or Tools menu) > Add-ons > Extensions category

Maybe you are looking for

  • Zen Xtra no longer recognised by sys

    Player: Zen Xtra (30GB) firmware version: .20.08 I installed the software for my zen from the cd, then I upgraded my software from the CD versions to the following versions, and my player is no longer recognised. These are the files I installed: Medi

  • ITunes 8 - Unexpected pauses in every track

    Having run iTunes 7, on both Mac and PC, iTunes 8 on Mac and PC and putting all the songs on an iPod Nano and iPhone 3G, my music library is moved around a lot. Even though the Windows PC this occurs on is where all the files get downloaded to, in ev

  • Make ie7 save pdf link instead of open (acrobat8)

    hi, when you click a pdf link in ie7 there seems to be only 2 options: either open the pdf in browser window or open pdf in acrobat. how can you make the ie7 ask to save the pdf file instead of automatically opening it?

  • Can we upload more than 1000 records with BPS file upload pf

    We are using file upload functionality in BPS. Can we use this function to upload around 80,000 records at a time. We are unable to upload more than 1000 records because throws a time out error. Is there a setting that we can change to resolve this?

  • NULL POInTER Exception in update JDBC

    hi gus the following exception is getting me mad!!!anyone can help please it is in an update statement ,here is the code: public void actionPerformed( ActionEvent event )                         // INSERT TO  msg DATABASE                          //