|Re: window/showview/pde [message #1693859 is a reply to message #1693844]
||Tue, 28 April 2015 20:05
| George Stiles
Registered: March 2015
Yes, I've been trying to find ways to do things. Why Java? I ONLY chose it to take advantage of WindowBuilder! I have written hundreds of lines of Java code for my two projects; converting some serious VB6 apps into something non-VB6! (Since MS is determined to kill VB6!) I code VB6 in my sleep.....mostly OOP 'problems/issues' are killing me. Most code works BUT '''''global''''' variables is a disaster, so far.|
Anyway, finding sample code in the Java world is not an easy task. For example 'String name[i]' looking for 'STRING' and 'ARRAY' is a nearly useless search......when I found PHONEBOOK I was thrilled....one of my apps is for logging retiree members to luncheons and printing out sticky labels of their names - the 'over 70 crowd' loves my app! ....and me - My apps are not for profit The dozens of unresolved imports... I just wanted to compile it so I could see how it 'works' and then I could dig out of it what I was interested in; and probably not interested in most of it....spent a long long time trying to resolve the imports, hence this post.
...and I don't have an answer......so far.
P.S. I'm a retired Aerospace Senior Systems Engineer...been coding for 25-30 years. In all those years have had no need for OOP. My company even sent me to a two week ADA school - what a waste that was. Apparently ADA, the supposedly ultimate OOP language/compiler, isn't what it was supposed to be, DOD's displeasure? DOD was demanding that any 'aerospace' contracts SHALL HAVE SOFTWARE WRITTEN IN ADA - as I said, retired 15 years ago....but I believe that that requirement ("SHALL") has been dropped.
And as a final comment, sorry....I speak C, VB6, Jovial, and bunches of assembly languages and know 'Windows' (up to Win95) and Aix and even the Amiga software; all self taught.....and it was easy to learn - NOT JAVA!!!
|Re: window/showview/pde [message #1693870 is a reply to message #1693861]
||Wed, 29 April 2015 00:34
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 04/28/2015 02:45 PM, George Stiles wrote:|
> Excuse that last post......too verbose. I'm not trying to learn how
> JFace, etc. works.....I'm ONLY trying to learn how to RESOLVE those
> imports. Geo
Please understand that Ada had nothing whatsoever to do with
Object-oriented programming (OOP). (I'm probably as old or nearly as you
and I programmed for a living in Fortran V, Pascal, Algol, Modular-2,
Ada, C and assembly for decades before landing on Java's doorstep.) Ada
was simply modular programming neatly done, like Modula-2, but not OOP.
It's a pretty steep hike to OOP from procedural. I well remember though
I did some Eiffel and C++ back in the 80s.
I would suggest two works, Head First Java and Head First Design
Patterns. The Head First series make things very much funner to learn.
Deep into those books and things will begin to dawn on you, no fears.
Also, your assertion that sample Java code is hard to find is probably
predicated on your lack of inspiration for Googling Java-related
questions. That will improve very soon, be patient. Actually, there's
probably as much or more sample Java than any other language.
Last, I highly recommend http://www.vogella.de for tutorials on Eclipse
and Java. They will start lower and make astronomically fewer
assumptions and dependencies on complex stuff like JFace.
Then come back and tackle whatever code you're working on. And come here
for help on Eclipse problems.
Best of luck.
Powered by FUDForum
. Page generated in 0.03300 seconds