Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Brett Swift

Ranch Hand
+ Follow
since May 22, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Brett Swift

Thanks.
I'm currently trying to replicate a project I did in .NET in the Eclipse environment.
I will look at those J2EE tutorials.
Thanks.
18 years ago
I'm not sure where I'd get the best response, but because I have used Visualage for Java, v3.5 a few years ago in school, I thought this would be a good place. I did my java certification 2 years ago, and since haven't used java, as I found a job that would let me learn .NET.
I have been wanting to get back into java, and use it for some of my own projects in my spare time, and brush up on my lost java knowledge.
I have recently downloaded the Eclipse project, and was wondering if anyone had any suggestions as to where would be the best place to look to get back into java.. (as far as development tools go).
These are my goals:
1)JSP / Web development
2)Some application development.
3).... who knows?
Thanks!
[ April 14, 2004: Message edited by: Brett Swift ]
18 years ago
Is there a way to maximize a JFrame through code, using JDK 1.1, and to remove that maximize button at the top?
19 years ago
Well if you have figured out the timed thread part, then why can't you just call the dispose method of the JOptionPane ? In the constructor, the first parameter is of type Component... so it wants the parent component. if you were creating the JOptionPane within the code of your parent frame somewhere...the code might look like this (of course your timer would encompass this code).

this pops up the JOption as a modal dialog in front of the parent frame. Hopefully that helped you out a bit?
19 years ago
thing is, I want to make it easier on the user. I like VAJ. I've looked at Eclipse, and JBuilder, but neither have as good of a development environment.... as well...my application is almost finished! Validating isn't my issue...its the UI that I want to change.
ps. I really hate it when people redirect me to the very basics of my problem... I obviously have thought of using something that uses a more recent version of the JDK... thats why i posted my question with the title JDK 1.1 !!!
thanks for puttin in your effort.
19 years ago
Unfortunately, I am using VisualAge for Java 2.0, so I am forced to use an OLD version of java. (com.sun.java.swing, not com.sun.javax.swing).
Instead of writing a huge program to validate that someone has entered the date in the correct format (for MySQL 'date' type ) which is 'YYYY-MM-DD' I would like to figure out if there is a way to use a mask for the textfield... even code that.
OR EVEN BETTER!!!
If anyone knows of a free DatePicker app for the old JDK. I found a couple, one looks awesome, and it is freeware.. it is called JCalendar, it is at this site www.toedter.com. That is what I am looking for, but for an older version of the JDK (that one doesn't work!) Any help would be appreciated! thanks!
19 years ago
I have the jdk 1.3.1_02 installed on my system, yet the swing in my IDE is still referencing the old java.swing not the javax.swing. Someone told me to take "SwingALL" out of my classpath, but its not there!
How can I update my IDE so that I can use the current javax.swing classes?
I know its a simple question, but I can't find this answer anywhere!
19 years ago
lol...
well ...you're soon to get a notice from one of the admin to change your name.
and second of all...the bean i am using is importing javax.swing.
but thanks for puttin in the effort.
19 years ago
I am using VisualAge 2.0 and am trying to use the JCalendar from
http://www.toedter.com/en/jcalendar/index.html
however.. this javaBean requires the Swing components, and says "the SuperClass javax.Swing.JPanel can not be found".... however I use the JPanel and many other Swing components in my application... but when I reference the JPanel bean in my application.... its referenced as com.sun.Java.Swing .
I have the JDK 1.3.1_02
Do the java gods just hate me?
19 years ago
Using MySQL I am trying display the dates from the database eg. '2002-01-01' in the format January 1, 2002. And then save that again in the original database format.
Does anyone know where I could find a method for each? Is there a place on the web that has commonly used code like this for free?
Thanks!
19 years ago
I have developed a Java application using MySQL and using VisualAge 2.0. I have been able to export the .jar file and run that from a DOS window, however that is a nuissance because the DOS window stays open when the application is running. Is there a way of running the application outside of VAJ so that you don't have the DOS window open?
A follow up to that... if anyone knows how to export a MySQL database so I don't have to install the whole database onto the client machine, that would be GREAT too!
Thanks!
[ August 26, 2002: Message edited by: Brett Swift ]
19 years ago
I have developed an application using VisualAge for Java 2.0, using MySQL. The application is not going to be used on the web, but only for one computer...a stand alone application. Does anyone know of a tutorial, or could give me some steps on how to create an install package with the database and app? All I've found while searching this site and others is tutorials on deploying it into Websphere...
Thanks!
[ August 20, 2002: Message edited by: Brett Swift ]
19 years ago
well thanks for the help bud..of course I read the API though! thats what I'm confused about.
in the creation of the frame, i have the line:
setModal(true);
..this locks up the parent frame..but you can still hide the modal dialog box.... when you click outside on the main application, this dialog still disappears behind the main application, and you have to minimize the application to find the JDialog, because it doesn't appear on the task manager.
thanks for your input though.
19 years ago
I made my JDialog modal, but if I click on the JFrame that loaded the JDialog, the JDialog will still sit behind the JFrame, and the JFrame will be disabled. I guess this is the difference between a modal frame in Java, and VB.
How do I make this JDialog stay on the very front of the screen until it is closed? I was thinking of locking the mouse inside the frame so it can't move out but thats a little too forceful. Any help would be great thanks!
By the way, I'm using VisualAge for Java, and there is an option to make the JDialog modal, as well as the Bean that I place within the main frame. --i know this isn't a VisualAge discussion but....just in case that helps anyone out!
[ August 17, 2002: Message edited by: Brett Swift ]
19 years ago
Hi, the following is my code that I am using to access an Access2000 DB on Windows2000 from a VisualAge environment. When I step through the code I get an error at this line:
pstmt.setFloat(4,carX.getPrice());
it doesn't even get to the executeUpdate line, because it throws this error:
[Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented.
Is there a problem in my syntax where I am trying to set the Float? I really need to find a solution to this....as you can see there is a lot of commented code that also gives other errors...the prepared statement was used later to solve other problems.

[ August 16, 2002: Message edited by: Thomas Paul ]