User Profile

Collapse

Profile Sidebar

Collapse
tburger
tburger
Last Activity: Jul 21 '08, 05:25 AM
Joined: Jul 13 '07
Location: Seymour,CT , Los Angeles, CA
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • tburger
    replied to getText() causes Exception
    in Java
    I understand and agree that this functionality exists and could be used in many situations...

    I was merely suggesting that an action listener was not needed in the context of the thread's original code, since all the events are triggered by buttons. I wasn't trying to say that no one should ever use an action listener on a text field...

    Good demo on potential functionality, though. Thanks.

    Tom...
    See more | Go to post

    Leave a comment:


  • tburger
    replied to getText() causes Exception
    in Java
    I also don't think there is a need for an action listener on the text field. No behaviors are triggered by the text field changing, only when a button is clicked.

    Tom
    See more | Go to post

    Leave a comment:


  • Yes, the second parameter in the window.open() method should be an independent window name. This usually forces the creation of an entirely new window, rather than replacing the existing window.

    In response to the above suggestion, what setting might affect this behavior?

    Tom
    See more | Go to post

    Leave a comment:


  • tburger
    replied to meaning of this
    in C
    Type casting refers to the dynamic process in which one data type is converted into another at the programmer's discretion. In this case, you are "forcing" p to become an integer pointer. This is usually applied when you want to use the data for a particular operation that requires a different data type...

    Until again,

    Tom
    See more | Go to post

    Leave a comment:


  • tburger
    replied to Class Modifiers and Member Modifiers
    in Java
    Rule of thumb for a new programmer:

    Data is private within a class, methods are public.

    If we have the class Thing, for instance:

    Code:
    public class Thing{
        // private data
        private String name;
        private int age;
    
       // public accessor methods
      public String getName(){
          return name;
      }
    
      public int getAge(){
    ...
    See more | Go to post

    Leave a comment:


  • tburger
    replied to End of String Question
    in Java
    JosAH left a great hint for you...

    Additionally, if you would like to be able to access any set of characters within the string, the Java String class also has a getChars() method that will allow you to convert the String input into an array of characters.

    i.e. the string "Hello" gets broken into

    char[] = {"H", "e","l","l","o" }

    ...
    See more | Go to post

    Leave a comment:


  • tburger
    started a topic Python on Sugar for OLPC

    Python on Sugar for OLPC

    Hey everyone-

    My name is Tom, and I am an undergraduate student at USC's Viterbi School of Engineering. We are currently working on a coding event benefitting the One Laptop Per Child program. For those of you not familiar with the program, the idea is to provide computer access to every child in the world - making technological literacy a priority even in developing countries. OLPC is on a quest to produce the "$100 laptop"...
    See more | Go to post

  • thanks...looks awesome...

    Tom
    See more | Go to post

    Leave a comment:


  • tburger
    started a topic Scan page for links, open in new windows

    Scan page for links, open in new windows

    Hey Everyone -

    I'm working on a greasemonkey script and I'm having some trouble...

    What I would like to do is to scan a page for links, store them, and then open them - one at a time - in a new window...eventu ally, I would like to have this timed (every 10 seconds or so) so that I could scan through a massive number of links automatically.. .

    What I have so far is this:

    Code:
    var allLinks,
    ...
    See more | Go to post

  • That looks really, really great!!!

    An excellent adaptation of the tutorial model. The border you chose is simple and clean- it gives the page a VERY professional feel. The "window" approach is ideal for this - giving the viewer a sneak peak at the eclectic and unique nature of the photography. Most importantly, with the "frames" set to constant dimensions, the page flows much more.

    Flow, as you may...
    See more | Go to post

    Leave a comment:


  • I commed you on your patience, luftikus. I apologize for the wait. I'm nearing the end of another website, and have been working hard to get it up and running before I head back west.

    I put some thought into your question and here's what I came up with:

    Tom's Unofficial Guide to Styling Photo Archives

    First, we go ahead and create some div boxes that will act as the "frames" for our pictures....
    See more | Go to post

    Leave a comment:


  • I believe so...let me finish up... I will post what I have tonight...

    I'm on east coast time.

    Tom
    See more | Go to post

    Leave a comment:


  • will work on it tomorrow...i'll put an example up for you...

    Tom
    See more | Go to post

    Leave a comment:


  • tburger
    replied to Quadratic DIVs with not quadratic photos?
    A couple of questions first:

    1. Did you code the photoblog yourself or did you use a service/site/program to do it for you?

    2. If you didn't code it, do you feel comfortable adding CSS to your archive's HTML?

    3. You want the photos in the archive to link to a new page with the original photo displayed, correct?

    If you answer these, I'm pretty sure we can work something out for you......
    See more | Go to post

    Leave a comment:


  • tburger
    replied to Browser Compatiable
    Another very common step is to make sure that you are working on a "blank canvas" in all browsers. By default, every browser has its own set of style sheets that dictate a page's behavior. Typically, these defaults deal with the margins and padding of the page's major elements. The problem arises, however, when these defaults are not the same across all broswers. While the differences are not major, they could potentially contribute to...
    See more | Go to post

    Leave a comment:


  • tburger
    replied to How to make a Linux Box...
    Thanks for the great response, Paul.

    I booted up the machine this morning. It officially runs at 266mHz and has 320 MB of RAM. The hard drive is partitioned into 3 smaller, 2GB drives.

    With a distro a Linux, I should be able to change these partitions, correct?

    Tom
    See more | Go to post

    Leave a comment:


  • tburger
    replied to How to make a Linux Box...
    Thanks for the input, archonmagnus... I'll check it out

    Tom
    See more | Go to post

    Leave a comment:


  • tburger
    replied to How to make a Linux Box...
    Thanks, I totally missed that option.

    Tom...
    See more | Go to post

    Leave a comment:


  • tburger
    replied to change bullet colour
    Another option is to create a background image for the <li> elements. This gives you almost complete freedom over the style you choose to incorporate into your lists..

    enjoy

    Tom
    See more | Go to post

    Leave a comment:


  • tburger
    started a topic How to make a Linux Box...

    How to make a Linux Box...

    Hey Everyone-

    A guy at work was looking to get rid of an old PC, so he offered it to me...Now I have an old Micron sitting in my basement...=)

    What I would like to do is turn this guy into a Linux Box...I've been wanting to get into this for some time, but have always been hesitant about partitioning a drive on one of my primary machines...

    The computer is running 256MB of RAM and has Pentium II processor....
    See more | Go to post
No activity results to display
Show More
Working...