DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 8 of 8

Thread: how i start

  1. #1
    Join Date
    May 2006
    Posts
    5

    how i start

    Code Removed


    Total Qty. In Stock: ###
    Total Qty. Sold: ###
    Total Inventory: ####.##
    Total Sales: ####.##


    I Need Hhhhhhhhhheeeeeeelllllllppppppppp
    Last edited by steveaustin; 05-14-2006 at 06:14 PM.

  2. #2
    Join Date
    Dec 2004
    Location
    San Bernardino County, California
    Posts
    1,468
    Are you asking how to generate today's date? If so,

    create a SimpleDateFormat, myFormat:

    SimpleDateFormat myFormat = new SimpleDateFormat(MM/dd/yyyy)

    then, create a Date object now:

    Date now = new Date();

    Then

    System.out.println( myFormat.format( now ) );


    If you were asking something else, I did not catch your drift.

  3. #3
    Join Date
    May 2006
    Posts
    5
    ok thanks for that but i want is

    put this in my code i cant move label date
    i want like this

    Invey Rort

    Date


    and appear in my program
    like this

    Invery Rort Date
    Last edited by steveaustin; 05-14-2006 at 06:00 PM.

  4. #4
    Join Date
    Dec 2004
    Location
    San Bernardino County, California
    Posts
    1,468
    So your issue is the display of the content in the GUI?

    Where are you sending/displaying this output?

    What commands have you coded to display the content?

  5. #5
    Join Date
    May 2006
    Posts
    5
    ok i need to start the program ok the program give me this
    this is the program
    _________________________________________
    IntoryReptDate ==>labels inventory *
    and label date *
    *
    *
    ________________________________________ *

    i want put like this


    Inventy Rept

    Date:
    Last edited by steveaustin; 05-14-2006 at 06:00 PM.

  6. #6
    Join Date
    May 2006
    Posts
    5
    Remove




    Remove
    Last edited by steveaustin; 05-14-2006 at 06:13 PM.

  7. #7
    Join Date
    Dec 2004
    Location
    San Bernardino County, California
    Posts
    1,468
    Oh .. I think I understand what you are asking. Are you asking about the "layout" of components within your JPanel - how to force the labels to display next to each other rather than one above the other?

    That is a pretty broad topic. Here is a link to the Java Tutorial on the various layouts:

    http://java.sun.com/docs/books/tutor...out/index.html
    Last edited by nspils; 05-13-2006 at 02:38 PM.

  8. #8
    Join Date
    May 2006
    Posts
    5
    \dzdn b,mzxcnzxcnm/.zxm/zxcm/.zxcm,zxcnlkzxc;lkzxchjoizdh
    Last edited by steveaustin; 05-14-2006 at 06:12 PM.

Similar Threads

  1. Start Stop Button
    By sboothman in forum Java
    Replies: 6
    Last Post: 11-30-2005, 02:12 AM
  2. Replies: 2
    Last Post: 04-26-2005, 08:20 AM
  3. Turn InStr(w, x, y, z) into InStr(w, x1, y1, vbBinaryCompare) ?
    By Joe \Nuke Me Xemu\ Foster in forum VB Classic
    Replies: 8
    Last Post: 12-21-2001, 07:21 PM
  4. SQL Server Agent wont auto start
    By David Hay in forum Database
    Replies: 2
    Last Post: 04-02-2001, 07:11 PM
  5. Re: MMSQ fails to start with errors in the Event Viewer
    By Paul Edwards in forum Enterprise
    Replies: 0
    Last Post: 09-19-2000, 12:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links