Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 11 of 11

Thread: Give me some clue for my project.

  1. #1
    Junior Member
    Join Date
    Jul 2012
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Give me some clue for my project.

    I need to create a java program for "locker cabinet business" wherein you can see every time transaction you made (like history log) in panel visible to main window.
    I don't have any clue how to do it. I want to do not exactly like this one (image file) that I saw in internet cafe program.

    Sorry for my bad grammar and English. Hope someone understand me. Thanks.
    Attached Images Attached Images
    • File Type: jpg 3.JPG (73.3 KB, 9 views)


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,609
    Thanks
    50
    Thanked 2,235 Times in 2,207 Posts

    Default Re: Give me some clue for my project.

    Please copy and paste here all the information for your project instead of attaching an image.
    It is hard to copy text from an image.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Jul 2012
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: Give me some clue for my project.

    Sorry Sir, this image is just to show what I need to do in my project. I did't start it yet but I want to know it in advance. Thanks

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,609
    Thanks
    50
    Thanked 2,235 Times in 2,207 Posts

    Default Re: Give me some clue for my project.

    Do you have any specific questions about your project?
    Describe what the program needs to do and ask questions about your problems doing it.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Junior Member
    Join Date
    Jul 2012
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: Give me some clue for my project.

    3.JPG

    I just want to know how to do the part in the image (which is boxed in color red), which I think is a history log. I look at it as a panel where jlabels print out every time an event has been performed and has a scroll bar when many events has been printed... I dunno if my guess is correct, can you give me some clue on how to do it?

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,609
    Thanks
    50
    Thanked 2,235 Times in 2,207 Posts

    Default Re: Give me some clue for my project.

    I'm not sure what you are asking for. The image looks like several lines in a text area.
    Is that what you want to do? Add lines to a text area for displaying.
    If you don't understand my answer, don't ignore it, ask a question.

  7. #7
    Junior Member
    Join Date
    Jul 2012
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: Give me some clue for my project.

    Yes, but is it possible to set the text area editable(false) but it will print out the system logs of each event performed?

  8. #8
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,609
    Thanks
    50
    Thanked 2,235 Times in 2,207 Posts

    Default Re: Give me some clue for my project.

    is it possible to set the text area editable(false)
    Read the API doc for what can be done with a text area.
    Java Platform SE 7

    Where do the lines that you want to display come from? Are they in Strings passed to a method in your class?
    If you don't understand my answer, don't ignore it, ask a question.

  9. #9
    Junior Member
    Join Date
    Jul 2012
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: Give me some clue for my project.

    Quote Originally Posted by Norm View Post

    Where do the lines that you want to display come from? Are they in Strings passed to a method in your class?
    Yes. For example I created an internet cafe program that when I click "Start" button selecting PC#1, the history log will update "PC#1 : time started at (+time)" printed at text area.

    Sorry for my explanation and bad english.

  10. #10
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,609
    Thanks
    50
    Thanked 2,235 Times in 2,207 Posts

    Default Re: Give me some clue for my project.

    Are you ready to write the code and test it yet?
    If you don't understand my answer, don't ignore it, ask a question.

  11. #11
    Junior Member
    Join Date
    Jul 2012
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: Give me some clue for my project.

    Yup. I'm trying to create an example. I'll post it when I finished it already so that you can check my code and give me some idea. Maybe I'll post it later. I have to get some rest now. Thanks for your time Sir.

Similar Threads

  1. [SOLVED] I have no clue what is wrong
    By Java_noob333 in forum What's Wrong With My Code?
    Replies: 15
    Last Post: December 22nd, 2012, 11:37 PM
  2. Please give the solution
    By Abdul Matheen in forum Android Development
    Replies: 0
    Last Post: November 29th, 2012, 12:38 AM
  3. Give Me Some Project Ideas!
    By Emperor_Xyn in forum Java Theory & Questions
    Replies: 16
    Last Post: January 18th, 2012, 02:06 AM
  4. Swing Dialog Boxes --- Have no clue why its not working
    By jap2008 in forum What's Wrong With My Code?
    Replies: 9
    Last Post: November 18th, 2010, 03:20 PM
  5. New give thanks feature
    By JavaPF in forum The Cafe
    Replies: 0
    Last Post: April 11th, 2009, 11:14 AM