Please come in ....

I want to ask about how automatic to get the date and time by using Netbean IDE 5.5.1!!
Calendar rightNow = Calendar.getInstance();
How to use this method??
And how to print the output...
Hope got someone can help me !! Thx.....

Navab wrote:
Calendar rightNow = Calendar.getInstance();
And how to print the output...
you can print by using :
rightNow.get(Calendar.DATE);like wise,Why are you suggesting that above SimpleDateFormat?
It is a pain to see that you didn't learn anything from your own thread: http://forum.java.sun.com/thread.jspa?threadID=5250370

Similar Messages

  • Please Verizon can you please come to my street?

    ive been waiting on Verizon for about a year and month now. about a year ago i called to see if it was available to have my heart broken with a no. so i waited and i waited and i waited , every two weeks checking online and calling in to see if it was available to get heart broke once again every week. last month my friend which lives about 2 blocks from my house got Verizon fios service. i was so upset but i didnt give up on Verizon i kept checking and calling. and now im loosing hope , cable vision is trash and i want to get rid of it. the cable is horrible , the internet is slow ( want an example : http://bit.ly/hqpHjt ) for the 190 dollars im paying for phone , internet and cable i shouldn't be suffering so please come to my area Verizon im dying. Area , {edited for privacy}

    Thank you so much for your interest in Verizon. We don't have exact dates of availibility for certain areas. We do put updates on our blog so you can bookmark it and periodically check for updates on availibility. Thanks, sorry I did not have specifics.
    http://forums.verizon.com/t5/Verizon-at-Home/bg-p/ResidentialBlog
    Thanks,
    Constance
    Constance
    Verizon Telecom
    Fiber Solution Center
    Notice: Content posted by Verizon employees is meant to be informational and does not supercede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan. Follow us on Twitter™!

  • When sending e-mails how do I avoid " 4.7.1 Greylisting in action, please come back later"?

    Hubo un error mientras se enviaba el correo: El servidor de correo respondió: 4.7.1 Greylisting in action, please come back later.

    Hi qwerty,
    Dun tink that creative customer support sucks cos I had been dealing with them in the past and I can say that their service are quite gd and fast. If you wanted a refund, I tink you need to contact the store that sells you the product. Dun tink creative will refund you though.

  • I have had my apple tv 2 for about 3 months which work perfectly fine when I use it with my iPad 3 ー all of the sudden I get the HDCP Error!  I read the forms and done everything!  Apple I name a loyal customer, please come out with an update soon!

    I have had my apple tv 2 for about 3 months which work perfectly fine when I use it with my iPad 3 ー all of the sudden I get the HDCP Error!  I read the forms and done everything!  Apple I name a loyal customer, please come out with an update soon!

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • On Mobile - the SharePoint site shows "Please come back later" - on Desktops it works fine?

    Hi there,
    Any clue why this happens to my SP 2010 site - On Mobile - the SharePoint site shows "Please come back later" - on Desktops it works fine?
    Thanks in advance.

    Hi,
    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.
    Have a great day!
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Do you have any idea about EPC error? If yes,  Please come in.

    Hellow
    : please try to solve the EPC-INIT failed epc-95 error which arbitrarily raises any day, we can not say that it raises only during peak time.It comes arbitrarily any time any day. Initially it was use to come after every 5 to 10 days But now its frequency has been increased.
    I have checked it out from documentation but there is ample space in ORACLE_HOME.
    Is it having any relation with other errors as follows which also coming at different times.
    1) General error on user screen not on server. which results into loss of connection with the server. user again have to enter there identities.
    2) virtual memory problem, now set high.
    3) Less redo log buffers space, which results into high no. of redo buffer allocation tries. This i will increase it soon.

    You may be running into Oracle Trace errors. here is some info from Metalink
    Oracle Trace can cause Unusual Server Problems
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Versions Affected
    ~~~~~~~~~~~~~~~~~
    Oracle Trace was introduced in Oracle7 release: 7.3.2.1
    It is enabled by default (when installed) in 7.3.2 onwards.
    Platforms Affected
    ~~~~~~~~~~~~~~~~~~
    Oracle Trace is enabled by default on:
         Most Unix platforms     7.3.2 onwards
         Windows NT           7.3.3 onwards
    Description
    ~~~~~~~~~~~
    Oracle Trace is a common tracing mechanism which is automatically
    enabled in Oracle 7.3 on many platforms. Products instrumented with
    Oracle Trace include:
    SQL*Net v2.3 , Net8
    Oracle Server 7.3 , 8.0 and higher
    Oracle Forms 5.0
    Unless specific actions are taken Oracle Trace may be enabled when it is
    not required.
    Likelihood of Occurrence
    ~~~~~~~~~~~~~~~~~~~~~~~~
    On Unix platforms it is quite likely there is some impact from Oracle
    Trace being enabled, even if this is only a small performance degradation.
    Most of the problems are fixed with Oracle 7.3.3 but it is still sensible
    to disable Oracle Trace if it is not required.
    Please Note: Oracle trace works well if correctly configured and used
    in a targeted manner. The problems described here can
    occur when Oracle Trace is not configured and is widely
    enabled , especially with 7.3.2.
    Possible Symptoms
    ~~~~~~~~~~~~~~~~~
    Widespread use of Oracle Trace can have a number of apparently mysterious
    side effects including:
    - Very slow database connect times
    - Poor Oracle response times
    - High disk space usage by the file 'process.dat'
    - Oracle errors attaching to the SGA, such as ORA-7307 or ORA-7337
    - Protocol errors (such as TNS-12164) errors from SQL*Net
    - Sessions aborting or hanging when connecting to the instance
    - Bus errors and/or core dumps from SQLPLUS or SVRMGRL
    - Shadow process fails to spawn and you receive ORA 12547
    - Trace files being written to the default USER_DUMP_DEST rather
    than the actual setting of USER_DUMP_DEST
    - Zero length trace files
    - Connect internal prompts for password
    - Errors of the form "ORA-7445 [epcrid_next()+452] [SIGSEGV]"
    in some Oracle 8.0 releases
    - A hanging listener on 8.1.6 which was fixed by disabling otrace.
    - An intermittent 12500 error on 8.1.5 was fixed by disabling otrace.
    - One Customer upgraded his sun os from 2.6 to 2.8.
    After the upgrade of the os, customer started receiving ora-12223
    errors when trying to start up svrmgrl and the listener. Through
    a top session, customer could see svrmgrl consuming excessive memory
    until memory was exhausted.Disabling otrace solved this issue.
    Workaround / Patches
    ~~~~~~~~~~~~~~~~~~~~
    There are no patches available.
    Two workarounds exist:
    A. If you wish to disable Oracle Trace totally you simply need to
         remove the '*.dat' configuration files.
    B. If you do wish to disable Oracle Trace for specific processes
         only you can use the EPC_DISABLED environment variable. Setting
         this to TRUE will DISABLE tracing.
    Workaround A - No Oracle Trace output required:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1. Shut down all databases and listeners.
    2. Remove the Oracle Trace files:
         Unix                    NT
         ~~~~                    ~~
    cd $ORACLE_HOME/otrace/admin     cd orant\otrace73\admin
    rm -f *.dat               del *.dat
                             Reboot the NT server
    Workaround B - Disable Oracle Trace on specific connections
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    NB: This workaround is not applicable to NT.
    1. Shutdown and remove the trace configuration files as in Workaround A.
    2. Reinitialise the Oracle Trace files by typing 'otrccref' in
         the otrace/admin directory.
    3. To disable Oracle Trace for a particular session set the environment
         variable EPC_DISABLED to TRUE.
    Eg: In a Bourne script:
    EPC_DISABLED=TRUE; export EPC_DISABLED
    In the C-Shell:
    setenv EPC_DISABLED TRUE
    4. To set EPC_DISABLED=TRUE for SQL*Net connections you can modify
         the 'SID_LIST_listener' clause in the 'listener.ora' file and add:
    (ENVS='EPC_DISABLED=TRUE')
    to the SID_DESC for each 7.3 database. Add the entry AFTER the
    (ORACLE_HOME=...) clause.
    Eg:
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=DB1)
    (ORACLE_HOME=/oracle/OFA_base/app/oracle/product/7.3.2)
    (ENVS='EPC_DISABLED=TRUE')
    (SID_DESC=
    (SID_NAME=DB2)
    (ORACLE_HOME=/oracle/OFA_base/app/oracle/product/7.3.2)
    (ENVS='EPC_DISABLED=TRUE')
         By using two listener processes you can have one SQL*Net alias
         which allows tracing and another that has tracing disabled.
    5. Restart and databases and SQL*Net listeners.

  • I have a question please come

    ok im doing a tutorial on how to make balloon shooter vin
    flash, but then i come across this:
    "4. Create a gradient panel with dimensions as 300px. X 35px.
    and place it at the bottom of the stage"
    WHAT IS A GRADIENT PANEL AND HOW DO I MAKE ONE!?!?!? please
    help!

    Sounds like they just mean a rectangle containing a gradient.
    Use the Ractangle tool to draw a rectangle, make sure its still
    seelcted and use the Properties Inspector to make it the
    recommended dimension and add the gradient (click on the Paint
    Bucket).
    Does that make sense with the instructions after this step?

  • About gcc !!Please come in!!help me!!!

    I have install gcc-2.95.2-sol8-intel-local.
    #pkgadd -d gcc-2.95.2-sol8-intel-local
    then add /usr/local/bin&/usr/ccs/bin to PATH
    It seems that gcc is working well.
    I can run ./configure successfully,but run 'make' unsuccessfully,even to say 'make install'.
    Maybe there are some problems with source code.
    I ever read this topic:
    You can use gcc which is free of charge. But sometimes it is adviseable to use the Sun compiler for Solaris. The reason being that gcc has a preprocessor which works with pseudo ANSI C and is also not system standard for Solaris. Some headers may be included erratically and it may just be a real pain to fix. But by all means, keep both on the system.
    /usr/ucb/cc is a wrapper script which tries to execute /usr/ccs/bin/ucbcc, which in its turn is a symbolic link to /opt/SUNWspro/${VERSION}/bin/cc. If you haven't installed the Sun WorkShop (now days called Forte) compiler yet, you can do so with a 30 day license. Download the try and buy from http://www.sun.com/software/shop.
    After installation, you will have your WorkShop tools installed in /opt/SUNWspro. Just issue the following commands:
    ln -sf /opt/SUNWspro/bin/lint /usr/ccs/bin/ucblint
    ln -sf /opt/SUNWspro/bin/cc /usr/ccs/bin/ucbcc
    ln -sf /opt/SUNWspro/bin/what /usr/ccs/bin/ucbwhat
    After that you can execute /usr/ucb/cc without any problems. If you want, you can link /usr/ccs/bin/cc to /opt/sfw/bin/gcc, but I haven't tried it as Sun cc and GNU gcc take different arguments. When gcc wants -fPIC, cc wants -KPIC etc etc.
    Please to tell me ,is ther anything else to make gcc work well,just like
    'ln -sf /opt/SUNWspro/bin/lint /usr/ccs/bin/ucblint'?
    Please write in details!!!Thank you very much!!

    Without knowing what you're trying to compile and without any output it's very difficult telling what your problem may be.
    FYI, Solaris doesn't handle link time as runtime, so when you try to link against a dynamic library with -L, you need to also specify -R for where the library is supposed to live on the target system. Supposedly this is good for cross platform compiling, but it has tripped me many times.

  • Please come out with a new fix for IOS 7.1 Apple!

    Dear Apple,
    Please create a fix for the battery life issue for ios 7.1 for 5S.
    I have tried restoring the phone to new and problem persist.
    When the phone was new, even when Im on LTE, the battery does not suck at all.
    With LTE, the battery was stable back when the phone was new.
    Now Im losing 2% every minute even with LTE off and other things like Background App refresh and Brightness etc turned off and low.
    5S is too expensive of a phone to have this problem.

    You ARE NOT addressing Apple here by posting in a public user to user technical support forum, a fact that you were made fully aware of when you signed up to the forum and signed and accepted the terms and conditions before joining.
    If you want to give Apple feedback, then send them feedback directly - http://www.apple.com/feedback, but don't post it here where nobody can do anything about it.

  • Someone please come and take my macbook pro off of my hands....

    terrible....
    i cannot, for the life of me, burn a movie to a disk... i made the movie in imovie08, chaptered the thing in garageband and exported it to iDVD... iDVD so wonderfully set up the submenus and play all buttons for me on the main menu...however, if i do ANY little bit of change to the menu...my computer will lock up, SOLID when i hit the play button...
    i DO NOT have iDVD.plist on my computer...i guess i wasnt privileged enough to ever get one or something...i've done the disk utilities premissions thing...
    whats goin on.... any help will inevitably save my computer from target practice with my new duck hunting gun....

    Hi
    Of course there is a .plist file even for iDVD.
    Not knowing the origin to Your problem - General approach when in trouble is as follows:
    • Free space on internal (start-up) hard disk if it is less than 10Gb should rather have 25Gb
    • Hard disk is untidy: Repair Permissions, Repair Hard disk (Apple Disc Util tool)
    • Delete iDVD pref file - *or rather start a new user/account* - log into this and re-try
    • Program miss-match: iDVD 5.0.2, Mac OS X.4.11 AND QuickTime 7.4.1 - is OK - DON’T work under Leopard
    • Program miss-match: iDVD 6.0.4, Mac OS X.4.11 AND QuickTime 7.4.1 - is OK (might work under Leopard)
    • Program miss-match: iDVD’08 v. 7.0.1, Mac OS X.4.11 AND QuickTime 7.4.1 - is OK (might work under Leopard)
    • iDVD (08) v7 Locate theme folder. Move out iDVD1, iDVD 2 and eventually iDVD4 folders to desktop - re-try
    iDVD 6.0.4 and iDVD 7.0.1 are compatible with Mac OS X 10.5 Leopard
    iDVD pref file resides: Mac Hard Disk (start-up HD)/Users/"Your account"/Library/Preferences
    and is named: com.apple.iDVD.plist
    While iDVD is NOT RUNNING - move this file out to desk-top.
    Now restart iDVD.
    Yours Bengt W

  • How to resize a image? Please come in

    I want to load a picture from E:\abc.jpg, then resize,and save to disk E:\xyz.jpg.
    Who can give me a demo?
    Thanks a lot.

    If you want to do it locally (not on a webserver) try the following. I got it while trying to find a way to create thumbnails online.
    Download the class from java.sun.com/products/jimi
    Keep the class files in your classpath of current directory.
    import java.awt.Image;
    import com.sun.jimi.core.Jimi;
    import com.sun.jimi.core.JimiUtils;
    class Thumbnail {
    public static void main(String[] args) {
    try{
              Image outImage = JimiUtils.getThumbnail(args[0],Integer.parseInt(args[2]),Integer.parseInt(args[2]),Jimi.IN_MEMORY);
    Jimi.putImage(outImage, args[1]);
    System.exit(0);
    catch(Exception e){
                   System.out.println(e);
    You must call this with 3 params.
    java Thumbnail <inputfile> <outputfile> <required size of the new image>
    I hope this will help.
    - Dantus

  • Please Come IN! IanSchneider. About random access serialized objects.

    Hi,I'm a freshman.
    I have a question about serialized objects.
    If I useing writeObject() serialize objects into a file in order,I can gain them with readObject() in the same order. But if I want to random access these serialized objects rather than one by one,how to do?
    Mr IanSchneider said "write all your objects into the same file using normal io techniques and you can still generate an index and acheive random access". It seems easy,but how to generate index and use it to acheive random access? Please write something in detail,Thank you in advance!
    EXPECTING��

    Have a look at this class: [ [u]WARNING: I just wrote this code, it hasn't been tested ]
    import java.io.BufferedInputStream;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.RandomAccessFile;
    import java.io.Serializable;
    import java.util.ArrayList;
    public class SerializedObjectWriter {
         private RandomAccessFile raf;
         private String filepath;
         private String mode;
         public SerializedObjectWriter(String filePath, String mode) throws FileNotFoundException {                         
              this.filepath = filePath;
              this.mode = mode;
              this.raf = new RandomAccessFile(filePath, mode);                         
         public void writeObject(Object o, long pos) throws IOException {
              raf.seek(pos);          
              final byte[] bytes = serialize((Serializable)o);     
              raf.writeInt(bytes.length);     
              raf.write(bytes);
         public void append(Object o) throws IOException {                    
              writeObject(o, raf.length());
         public Object readObject(long pos) throws IOException, ClassNotFoundException {
              raf.seek(pos);
              int len = raf.readInt();          
              final byte[] data = new byte[len];          
              raf.readFully(data);
              return deSerialize(data);
         public Object[] readAllObjects() throws IOException, ClassNotFoundException {          
              int pos = 0;          
              final ArrayList al = new ArrayList();
              while (true) {
                   raf.seek(pos);
                   final int len = raf.readInt();               
                   final byte[] data = new byte[len];          
                   raf.readFully(data);
                   al.add(deSerialize(data));
                   pos = (pos + len + 4);               
                   if (pos >= raf.length()) break;               
              return al.toArray();
         public long length() throws IOException {
              return raf.length();
         public void reset() throws IOException {          
              raf.close();
              final boolean success = new File(filepath).delete();
              if (!success) throw new IOException("Failed to delete file");
              raf = new RandomAccessFile(filepath, mode);
         public void close() throws IOException {          
              raf.close();     
         private byte[] serialize(Serializable obj) throws IOException {
              final ByteArrayOutputStream baos = new ByteArrayOutputStream();
              final ObjectOutputStream oos = new ObjectOutputStream(baos);
              try {
                   oos.writeObject(obj);
              } finally {
                   oos.close();
              return baos.toByteArray();
         private Object deSerialize(byte[] data) throws IOException, ClassNotFoundException {
              final ByteArrayInputStream bais = new ByteArrayInputStream(data);     
              final BufferedInputStream bis = new BufferedInputStream(bais);
              final ObjectInputStream ois = new ObjectInputStream(bis);
              try {
                   return (Serializable) ois.readObject();               
              } finally {
                   ois.close();
         public static void main(String[] args) throws Exception {
              SerializedObjectWriter sor = new SerializedObjectWriter("C:\\test.ser", "rw");          
              sor.reset();
              sor.writeObject("Test 1", 0);                         
              sor.append("Test 2");               
              sor.append("Test 3");     
              Object[] objects = sor.readAllObjects();
              for (int i = 0; i < objects.length; i++) {
                   System.out.println(objects);
              sor.close();

  • What does it mean when Siri keeps saying "I can't help you right now, please come back later."?

    What does it mean when Siri keeps saying, "I can't help you right now, please try again later."?

    Pretty much what it says, SIri can't help you right now.  I suspect it's a location, nework and/or server issue.  Siri is currently Beta and doesn't always work.

  • Senthil_indts, please come in!!!

    The problem has been fixed!!!
    The way is:
    Manually edit the /boot/solaris/bootenv.rc to add:
    setprop acpi-user-options 0x2
    Thank you very much!!
    Would you be kind enough to tell me you E-mail address?If I have any question,I will write to you!!
    My name is sparkle,E-mail is [email protected]
    Warning: Resource Conflict- both devices are added
    Non-ACPI device: PNP0C01
    Memory: FFB00000-FFB7FFFF, FF000000-FFFFFFFF
    ACPI device: PNP0C01
    Memory: CE600-CFFFF, 9FC00-9FFFF,FEE00000-FEE00FFF,FFB00000-FFBTFFFF,FFF00000-FFFFFFFF,E000-EFFFF

    Hi Sparkle,
    Thank you for your response. If you have any further
    queries, post it in these forums.
    Senthilkumar
    Developer Technical Support
    Sun Microsystems, Inc.
    http://www.sun.com/developers/support

  • Any MSI GE62 user Please come in have discuss.

    After you get your laptop..got face any problem of it ?

    i bought it today and have big problem
    https://forum-en.msi.com/index.php?topic=253590.0

Maybe you are looking for