Who said anything about me being early in my career? I'm closer to retiring than when I first got into this type of work. And I plan to retire at the great company i work for which is not a Java shop. I started learning Java about a month ago for a few reasons. 1. it came with the Raspian image on my pi, so why not? 2. I want to try my hand at an Android project, just for fun, not for employment and not to sell android apps. and 3. Just thought it would be interesting to pick up a new hobby. The pi is a new hobby in itself. And who said I have bad habits? this is just a stupid test project to test out a few things. One of the excellent habits I have and which I hope all have is to be consistent in coding style. What i do works for me and has served me well.
But the naming conventions recommendations are appreciated. I'll try to incorporate that into my coding in case I post code in the future, so that folks have an easier time reading it, in case it's so hard to follow otherwise.
dont think of it as an application. and definitely don't think of it as an application to be maintained. in my original post i said it was a test project in which i was fooling around. i supplied the code to help make it clearer this is test bed of the simplest ideas that the more experienced programmers take for granted, like dealing with labels for example.
Nah, don't have 50 pets. I should have added "...true story...". This reply of mine is a cell phone reply test, at a bar. Let's see how it goes. i have a button that causes a message box to display, a button that changes the caption on a label, a button that writes the contents of a Jtextfield to a file. Now I'm adding buttons to enforce my new knowledge of array lists, hash maps and string object arrays or something like that. This app is a testing app that reinforces stuff i read about. It's okay to not be professional or of good design.
Hello everybody! New guy here. Mainly Access VBA, SQL dude for many years. 52 year old Java Rookie. Just recently finished my Java book and am starting to do some coding. I'm working on a test project in which i can click on some buttons, and fool around. I want something in which a list of information displays. I want to be able to click on one of these rows of information and be able to access a bit of information to do something with it. The list will be a list of my pets names along with their ages. About 50 or so pets. I want the names to be visible but the ages should not be visible. If I clicked on my dog's name "Rover", I can then get his age of 10 and apply some math to it for example. This list will be hard coded, I don't want to use a relational database at the moment. I want to use some kind of java built-in data structure. I'm asking for a little guidance on what Swing container/component data structure combination to use to accomplish this. Just want to start on a good component / data structure combination that you all feel is most natural for this. Or at least a good candidate.