devxlogo

Tip Bank

DevX - Software Development Resource

Operator overloading

Question: Can you do operator overloading in Java? If so, how? Answer: Java does not as of yet support operator overloading, and there are no signs that it will ever

DevX - Software Development Resource

Adding a Component to a JTable

Question: How do I add a JButton to the cells of a JTable? Answer: Using the Swing JTable class can become a sticky business when you want to customize it

DevX - Software Development Resource

Process Local Storage

Question: Is there a way to get memory allocated that is global to the current process? Thread local storage won’t do the trick because you need a global handle to

DevX - Software Development Resource

Event handling with multiple scrollbars

Question: I’m trying to work on the basics of event handling. I found it easy to set one label and have the scrollbar change the value of the label. I

DevX - Software Development Resource

DBA; Backup

Question: What is the correct way to backup a SQL Server database? I’m new to SQL Server and don’t know where to start. Answer: The best place to start would

DevX - Software Development Resource

Selecting a maximum sum from a group

Question: I need to write a query that selects the maximus sum for a group from a list like the one below. Type ValueA 100B 200C 300A 300B 100C 342

DevX - Software Development Resource

Multiple Font types in one TextArea

Question: Is it possible to have more than one font type in a text area? I have tried, but I can only change the whole text area component. Answer: It