I don't know if this helps or not but here is a little shorter version:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class SMG3AuditInterface extends JFrame
{
JComboBox comboBox;
JLabel lblComponent, lblObjectName, lblFileName, lblDirectName;
JTextField...
I obviously did not expect what I got.
I set it up very similarly to other examples I have seen.
No, I suppose you do not need all of those listeners and components to answer my question.
The way I have it set up makes sense to me but if you could point me in the right direction where I went...
I am trying to create an interface using GridBagLayout with Panels and everything is just put on one line. Here is the code:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class SMG3AuditInterface extends JFrame
{
JComboBox comboBox;
JLabel lblComponent...
Please forgive the length and inefficiency.
Here is the whole thing:
#!/usr/bin/perl
use strict;
use XML::Parser;
use XML::SimpleObject;
use Getopt::Std;
use File::Basename;
my %opts = ();
getopts('d:', \%opts);
die "No Flow directory specified with -d!\n" unless exists $opts{d};
opendir...
I am looping through files in a directory and printing to csv files with:
.
.
opendir D, $opts{d} or die ...;
.
.
foreach my $file (readdir D)
{
my ($filebase, $dirname, $ext) = fileparse($file, '\..*');
my $csvFile = "$opts{d}\\$filebase.csv";
open FILE_OUT, ">$csvFile" or die ...;
...
This is most of an example from perl-xml-quickstart:
<?xml version="1.0"?>
<camelids>
<species name="Camelus bactrianus">
<common-name>Bactrian Camel</common-name>
<physical-characteristics>
<mass>450 to 500 kg.</mass>
<appearance>
The most noticeable feature of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.