Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

820

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

There are quite a few articles, etc. on pros of Python:
http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=why+use+python

(I also just noticed the link I posted to the wiki on it missed a left paren. It should have been http://en.wikipedia.org/wiki/Python_(programming_language))

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

It looks like GBFrame is one of the BreezySwing components. If you don't have any API docs for it, take a look at this link: http://faculty.cs.wwu.edu/martin/software%20packages/BreezyGUI/breezyguijavadoc/BreezyGUI/GBFrame.html

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

How have you tested anything at all in order to alter it if you do not know what should go into main() to make it run?
No one here is going to be able to tell you for certain, since you are extending some "GBFrame" class which is not a standard JDK class, but you probably need to create an instance of Math, set a few properties on it, and set it to be visible.

Fixing up the formatting couldn't hurt as well, since the indentation is all screwed up in what is posted above. That would make it a lot easier for you to follow the logical blocks within the code.

Edit: And rename the classes to something more meaningful than "Math" and "Math2". "Math" certainly doesn't denote any logical relationship to a "GBFrame".

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You might try some of the tutorials that use GLUT instead:
http://www.lighthouse3d.com/opengl/glut/index.php?strokefont
http://www.videotutorialsrock.com/opengl_tutorial/draw_text/text.php

There is some discussion on using glaux replacement code from nehe over in the gamedev forums: http://www.gamedev.net/community/forums/topic.asp?topic_id=490397

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

If you don't know what it is or what is good about it, why would you make a decision to learn it?
Start with some basic investigation before posting questions of this level of generality:
http://en.wikipedia.org/wiki/Python_(programming_language)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

814

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

This recent article over on Tom's Hardware might be of interest to you: System Builder Marathon: $1,250 Mid-Range PC. Price and availability may vary over in the UK, but it may give you some ideas.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Then perhaps posting a question in either the Visual Basic 4/5/6 or VB.net forum would be a good place to start?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

810

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

806

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

There is absolutely no reason to call it from main().

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

802

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Which is exactly why you should not be asking for "readymade code" to copy and hand in - and why you will not get it here.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Have a look here for a 100% pure Java DB
http://hsqldb.org/

Or the latest project by the original author of hsqldb (Thomas Mueller): http://www.h2database.com/html/main.html

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

The OpenGL tutorials at http://nehe.gamedev.net/ should get you there pretty easily.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Hi there, I know I should not be doing this.

Then don't do it.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Ask a question in a new thread if you need some help. Note that "help" doesn't mean giving you code to turn in for your assignment.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

796

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

790

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Heh, they don't have this one: http://en.wikipedia.org/wiki/Journey_(video_game)

(I wouldn't say it's missed though... :P )

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

:yawn:
That was absolutely awful.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

hehe, then you had better take her out. Reading about design practices can wait :)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

++ to both of the above posts.
If you're writing a lot of code that depends on knowing that list well, no one will want to work with you (including yourself when you are trying to track down your own bugs 3 months later).

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

>I would like you guys to give me some advice on best practices when it comes to programming, planning and design.
Here's a really good place to start:
Code Complete 2nd Edition
No, it's not free. Buy it and read it. If you want free, then you're going to have to put in your own effort to search it out.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

> Isn't it generally a bad idea to keep calling repaint()?
No, that is generally what animation loops do: update component states and call repaint() to refresh them on the screen. If by "keep calling" you mean without any pause, then no, you usually want to sleep for some period of time so that other processes are getting a fair chance to run as well.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

766

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

While statics can be "nice" in some cases, they should generally be reserved for constants and stateless utility methods. Using them to share state can cause all kinds of headaches further down the road. I'd recommend reading through some of this discussion:GlobalVariablesAreBad and perhaps some of this one: SingletonGlobalProblems as well.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

730

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You basically need a main application context that all necessary components have access to and can call upon for access to the various sub-systems in your app. The reference to that context can be supplied via the constructors.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

726

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

These questions make absolutely no sense in the limited context of code that you have posted. You would need to post the relevant code from those other classes if you expect anyone to be able to make a suggestion.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You're probably going to need to:
A) Post more specific questions indicating that you've given the least bit of thought to the problem.
B) Post the code that you have started with.
C) All of the above.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Mostly likely he'll need to use Scanner or some regex parsing, because getting the numbers from the string is only the smallest part of writing an expression parser.

Edit: As far as trying the cast to Integer, it wouldn't work - you can't cast a char to an Integer object and it would be unnecessary, as the Character class has a static isDigit() method for that.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I believe it's included with the JDK downloads, but you can also download it from Sun: http://java.sun.com/javase/downloads/index.jsp

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

708

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

704

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

700

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Certainly. It's just a matter of using that url when you obtain the connection through DriverManager. There are examples of that with most JDBC drivers.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

If you define them to be in package Test; , you'll need to run it from the directory above Test with the command java Test.TestApp

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
peter_budo commented: Nice articles, specialy today.java +14
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Haven't used it myself, but you might take a look at this article on using the Acrobat Viewer bean: http://today.java.net/pub/a/today/2005/10/20/accessing-pdf-with-acrobat-viewer-javabean.html

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

696

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

That's completely absurd. They should have just told her that she certainly wasn't required to attend.

Even as an atheist, I find it pathetic that some people get so worked up when anyone at all says the word "Christmas" within earshot. These people just need to get over themselves.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

692

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You would have to listen for edits, parse the expressions, and update the cells with the results.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

688