Tip Bank

DevX

What is an Interface?

Question: I have no experience with object-oriented languages, havingonly learned BASIC when I was a child. Most people say Java is easy,but in my case it’s not. I don’t understand

DevX

The ‘greater-than’ vs. ‘comment’ dilemna

Question: The ‘greater-than’ vs. ‘comment’ dilemna Answer: There is a trick in writing JavaScripts which all developers should learn as soon as possible. When putting a script in your HTML,

DevX

Changing Button Captions

Question: How do you change a button’s caption after it is created? Answer: Java’s Button class defines two methods for getting and setting a button’s caption. They are getLabel() and

DevX

Accessing a C Library from Java Applet

Question: I want to be able use a Web frontend for a databaseapplication. I would like to use Java to process theuser input and C for accessing the database. Myquestion

DevX

Creating a LIST_SELECT Event

Question: How do I create a LIST_SELECT event? Specifically, what should I put in the fields of the statement: Event anevent = new Event(mylst, event.when, event.LIST_SELECT, ?, ? event.key, event.modifiers,?)