eggmatters 21 Junior Poster in Training

Oh so you don't think *nix is not just a bunch of hacked together programs??? After I installed Ubuntu and Fedora 11 they both went to their respective web sites and downloaded updates. Even after that I couldn't get the sound to work right, but I found a tutorial that explained how to uninstall something (I forget what) then download something else. It was quite a lengthy tutorial -- but worked. Even after all that I still can not play movies that are on DVD, I understand that's because the drivers are not installed with the os.

I have Windows 7 Home Prem and everything worked perfectly after installing the os. Perfect sound, plays both blue-ray and normal DVD movies, youtube videos (with sound ;)

Now tell me who has the hacked operating system.:P

Lol, I'm not going to argue with you there. I've had all those "issues" as well. Linux is not marketed as a "plug-and-play" system. Until somebody can provide a distro that does that, it will not be marketable at all. But, once you get all of that to work, you will have a much more stable, secure and efficient OS. Hands down. Linux is not for the faint of heart. It's for people who A. Aren't afraid of getting their hands dirty and doing some low-level work, installing drivers, configuring hardware etc. B. People (like me) who could use some humility.
I mean, put together a bunch of ad-hoc components, get your elbows dirty and …

eggmatters 21 Junior Poster in Training

Well, you seem to know a lot more after 2 years than I did. As a comparitor, we typically know how operators behave on primitive types. But I think we both have the same understanding when the types are complex. An equals sign can't "magically" grab all of the data an object has and figure out if they are equal or not. That has to be implemented somewhere.
I was just digressing more out of boredom than anything. I guess I'm like a baseball purist when it comes to programming. Plus, 98 percent of all my coding errors come from improperly implemented loop conditions. As a matter of fact, that reminds me. I have some bugs to clean up. Hopefully LKH figured out how to implement his / her multiplication table.

BestJewSinceJC commented: I agree; his strategy logically makes sense, but doesn't work in Java. != doesn't call equals() +4
eggmatters 21 Junior Poster in Training

Not really sure how to phrase the question. Essentially my issue is this:
I have a Form that when the user clicks a button, it invokes a JFrame that populates a datatable with a sql query. The datable frame also has a button. The user can select a cell in the frame and then press the "Select" button. What I need to have happen is to somehow populate a text field with a value from the selection on the parent form. The datatable is invoked from a method in my Main Form class. There is an action event listener associated with the button on the datatable form. Provided is the code from Main:

private void MTHSelectAlertTypeActionPerformed(java.awt.event.ActionEvent evt) {                                                   
// TODO add your handling code here:
    showPreviousAlertTypes();
}                                                  



private void showPreviousAlertTypes()
{
    String query = "select distinct dc_alert_type_id from  custom_alert order by dc_alert_type_id";
    String labels [] = {"Alert Type", "Select" };
    ArrayList selections = new ArrayList();
    
    JFrame frame = new JFrame("Existing Alert Types ");
    //DataTable is a class I defined based on the Sun Tutorial on how to create Swing Tables. It is pretty robust and I am happy with it.
    DataTable existingAlertTypesTable = new DataTable(query, labels, conn, "Existing Alert Types", "Selections", true, frame);
    //Draw and render the frame:
    existingAlertTypesTable.setOpaque(true);
    frame.setContentPane(existingAlertTypesTable);
    
    frame.pack();
    frame.setVisible( 
}

So that's the calling function from Main. I have a public action event associated with my button. All of the values passed in to the constructor are necessary to render my table with the required …