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 15 of 15

Thread: Simple Data Base.

  1. #1
    Junior Member
    Join Date
    Jul 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Simple Data Base.

    Use as you will a simple data base that uses a Jlist.
    This can be used for an update console on games.
    Or however you want.
    Took about 1 hour.
    I plan to make it when you press enter to add to data base using a keylistener.
    Source: DataBaseedit3.rar
    .jar: DataBaseedit3.jar


    **Fixed the problem where if nothing is selected it gives errors in console when you press remove! New link above.
    **Added editing. Pic soon.
    Last edited by Reese; August 1st, 2010 at 06:59 PM.
    mtsmts.


  2. #2
    Junior Member
    Join Date
    Jul 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Simple Data Base.

    Hmm, no comments. If you download please comment. I've stripped this source and made it into a simple game as an announcement console. Just by using the list and a little bit of code from the buttons. Might put a pic up. Commenttssss.
    mtsmts.

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Simple Data Base.

    What database languages does it support?

  4. #4
    Junior Member
    Join Date
    Jul 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Simple Data Base.

    Quote Originally Posted by Norm View Post
    What database languages does it support?
    Huh? It's a simple database. Download and see if you can answer your question cause idk what your asking. But you did give me an idea, make it import and export lists. Hmmm.
    mtsmts.

  5. #5
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Simple Data Base.

    What is a simple database?
    Does it have rows and columns and selectable fields?

    What OS does a .rar file come from? Why isn't the app in a .jar file?

  6. #6
    Junior Member
    Join Date
    Jul 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Simple Data Base.

    Quote Originally Posted by Norm View Post
    What is a simple database?
    Does it have rows and columns and selectable fields?

    What OS does a .rar file come from? Why isn't the app in a .jar file?
    A database that has 3 functions(so far), add data, remove data, and clear all data.
    I plan to make it export a list and import lists.
    Also make it have titles and names and such.
    Suggestions are welcome.
    It has selectable rows.
    .rar is like a .zip when is basically a file that holds files or folders.
    It is not a jar because it is the source not just the program.
    All my stuff I release is open source if permitted.
    mtsmts.

  7. #7
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Simple Data Base.

    A database that has 3 functions(so far), add data, remove data, and clear all data.
    How does that differ from a text editor?

    I can't open a .rar on WinXP
    you can put any file, including source in a jar file.

  8. #8
    Junior Member
    Join Date
    Jul 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Simple Data Base.

    Quote Originally Posted by Norm View Post
    How does that differ from a text editor?

    I can't open a .rar on WinXP
    you can put any file, including source in a jar file.
    No it uses a Jlist, Very different from any text editor.
    Nd yes you can with winrar.
    Nd no you can't not a netbeans source which is an ide for java.
    I'll upload the latest edits into a jar file for people not wanting to look at the source.
    mtsmts.

  9. #9
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Simple Data Base.

    Yes you can put any file in a jar file. I have no idea what your IDE is capable of, but I can put any file in a jar file.

  10. #10
    Junior Member
    Join Date
    Jul 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Simple Data Base.

    Quote Originally Posted by Norm View Post
    Yes you can put any file in a jar file. I have no idea what your IDE is capable of, but I can put any file in a jar file.
    Umm, why though? A .rar file is used EVERYWHERE. So much easier. But anyways making the app into a jar file right now.
    mtsmts.

  11. #11
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Simple Data Base.

    Never used .rar file so not quite everywhere. Have only seen it from linux users.

  12. #12
    Junior Member
    Join Date
    Jul 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Simple Data Base.

    Quote Originally Posted by Norm View Post
    Never used .rar file so not quite everywhere. Have only seen it from linux users.
    Lol linux? Uhh, it was made on windows xp. All you need is winrar. It's just an improved version of a .zip file. Better compression and shit.
    mtsmts.

  13. #13
    Junior Member
    Join Date
    Jul 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Simple Data Base.

    Made this a little more advanced.
    Still a simple database.
    Even if I add importing and exporting that would still only be a complex database.
    Anyways added editing.
    Took a while but this is turning out good and can really be good for other things if stripped like a notepad on an adventure the character could keep a notebook or a quest-book.
    Nimbus look now.
    Makes it look more, databasey.
    Lmfao.
    mtsmts.

  14. #14
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Simple Data Base.

    .rar is kind of "un-common" in the java world (not unused, just uncommon) most people use .zip (because of the native windows support), .jar (because of the native Java support and potential to pack a program/source into one file), or tar balls (the most common format used with linux systems). I have no idea what the most common format for macs it, but I'm assuming tar balls because mac's architecture shares some resemblance of unix systems, and thus linux systems (don't take my word for this, I don't use a mac regularly but have had to fumble my way through them sometimes).

    Unfortunately, WinRar is not a publicly available program (proprietary program you have to pay for). I have 7zip, and it does support .rar files. In the future, perhaps you could upload a zip file instead? I think it's the most commonly supported across multiple platforms.
    Last edited by helloworld922; August 2nd, 2010 at 02:00 AM.

  15. #15
    Junior Member
    Join Date
    Jul 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Simple Data Base.

    Quote Originally Posted by helloworld922 View Post
    .rar is kind of "un-common" in the java world (not unused, just uncommon) most people use .zip (because of the native windows support), .jar (because of the native Java support and potential to pack a program/source into one file), or tar balls (the most common format used with linux systems). I have no idea what the most common format for macs it, but I'm assuming tar balls because mac's architecture shares some resemblance of unix systems, and thus linux systems (don't take my word for this, I don't use a mac regularly but have had to fumble my way through them sometimes).

    Unfortunately, WinRar is not a publicly available program (proprietary program you have to pay for). I have 7zip, and it does support .rar files. In the future, perhaps you could upload a zip file instead? I think it's the most commonly supported across multiple platforms.
    Okay thank you. In the other forums I am apart of winrar is more widely used.
    mtsmts.

Similar Threads

  1. Base Conversion
    By Pingu in forum What's Wrong With My Code?
    Replies: 7
    Last Post: February 22nd, 2011, 03:15 PM
  2. How to place icon on a picture base on (x,y) axis
    By FaintSmile in forum Java Theory & Questions
    Replies: 1
    Last Post: July 13th, 2010, 07:27 AM
  3. urgent simple help for a very simple program
    By albukhari87 in forum Java Applets
    Replies: 4
    Last Post: June 5th, 2010, 03:43 PM
  4. not so simple, simple swing question box
    By wolfgar in forum AWT / Java Swing
    Replies: 2
    Last Post: November 20th, 2009, 03:47 AM
  5. I can't key in the data
    By muffin in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: August 10th, 2009, 11:03 PM