Slashdot Mirror


User: Gath

Gath's activity in the archive.

Stories
0
Comments
8
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 8

  1. erm... Swing has table elements like that on Interview With James Gosling · · Score: 1

    Sun has given that response because it is correct. If they hadn't listened to what people wanted, we'd still be using AWT.

    You can use most, if not all, controls in JTables. For example: you could use text fields, buttons, or combo boxes as table cells. You can also extend AbstractTableModel to create a custom table model, a very useful feature.

    Creating a JTable like the one you described is quite easy.


    Jtable table = new JTable(
    new String[][]
    {
    {"one","two","three","four","five","six"},
    {"1","2","3","4","5","6"},
    },
    new String[] {"Col1", "Col2", "Col3","Col4","Col5","Col5"}
    );

    Then just add it to the applet or application. You would need to make a custom table model to be able to acctually edit the fields, but those are pretty basic.

  2. Improving AWT on Interview With James Gosling · · Score: 1

    They didn't improve AWT because it is just that bad. Every control is heavy-weight, represented by a native window. Put six buttons in your applet, it looks like one window, but it's seven. The only way to fix it was a redesign.

    Swing is alot better, every control is light-weight; they are all just painted in the root container. They designed Swing to be as much like AWT to the programmer as possible.

    You can find more information at http://java.sun.com/j2se/1.3/docs/api/index.html

    Just look for javax.swing, it has a fairly good explanation.

  3. Other great anime on Blade Director to Adapt 'Akira' For Western Audiences · · Score: 1

    Macross Plus - The two hour movie version is awesome. Good characters, good plot, good everything. The series version is also good, but I think the movie was a little bit better.

    Evangellion - The first time I watched this I planned to watch one or two episodes. I watched the first seven hours and went to sleep at 6:30 in the morning. The ending is a weird as the one in Akira. You will have to watch it a couple times to catch what's really going on. There were a few bits that really jumped out the second time I watched it. This show has the kind of scope Akira could have had if it was 10+ hours long.

    A Wind Named Amnesia was also a good show. It has been a few years since I saw it, so I can't say much about it.

    Other shows to try: Record of Lodoss War, Escaflowne (haven't seen it myself), and Princess Mononoke.

  4. Re:If Large ads bother you.... on Web Surfing Losing Its Luster · · Score: 1

    I used to have that problem with IE, even telling it to ignore the font sizes specified on the page doesn't help very much. Switching to Mozilla solved that problem though, it properly scales all the fonts on a page. You should give it a try, it's quite good.

  5. Nifty trick on Clear Hard Drive Mods · · Score: 1

    Now if only I had a data chisel...

  6. Some misinformation from the article on Probing the Guts Of the Consoles · · Score: 5, Informative

    The article claims that the PS2 cannot play DVDs without the remote control, which is not true. It can play them just fine without. The XBox, however, cannot. It's not that bad of an article, just not objective enough.

  7. Re:Proto-anime??? on Robotech On DVD, Ghost in the Shell 2 · · Score: 1

    I think calling it "Proto-Anime" is just a reference to "Protoculture."

  8. A Question on Destroying The Myth Of The Web-Safe Palette · · Score: 1

    They mention in the article that the safe colors in the 16 bit palette changed from machine to machine on Win95. Now this is the same browser on the same OS. What I'm wondering is: Wouldn't a more likely cause for the problem be differences in the video cards and drivers on those machines? I really hope each application doesn't need to adjust colors before feeding them to the video card. They should be able to, but they shoudln't need to.