We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

DevX - Software Development Resource

Logging off a Web site

Question: I have a Web site that forces a login with NT security. (Thus the person has to have an NT account to login.) I want to include a logoff

DevX - Software Development Resource

Final Release

Question: What are the big differences between the March pre-release beta and the final release of Visual Interdev? Regards,Brooks Martin Answer: I suppose the biggest difference is that the March

DevX - Software Development Resource

Visual InterDev: Logging File Download

Sometimes it is useful to keep track of users’ file download activity on your site. When a user clicks on a hyperlink to download a file, you can run an

DevX - Software Development Resource

The Graphics.create() method

The Graphics.create() method is a convenient way of creating a copy of a Graphics context. For example, you can use the Graphics.create() method if you want to make a copy

DevX - Software Development Resource

Read-Only Text Controls Without the Caret

Assume you want a text control with a vertical scrollbar, but you don’t want users to be able to modify it and you don’t want users to see any caret

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

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

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

Graphics.create()

Question: For what uses can the Graphics.create() method be used? Answer: There will be cases where you want to make a copy of a Graphics context and make some alterations

DevX - Software Development Resource

Canvas in a ScrollPane

Question: How can you make a canvas nonresizable? The canvas automatically resizes when the frame is resized. Answer: The default layout manager for java.awt.Frame is BorderLayout. BorderLayout will expand the

DevX - Software Development Resource

SQL Query

Question: I am a beginner in SQL and can’t figure out how to do this: I have two tables with three fields in the row of table1 referencing a master

DevX - Software Development Resource

Java Threads and Multiple Processors

Question: On a Windows NT box with multiple processors, will a multithreaded Java application get split between the processors automatically? Answer: This depends on the version and vendor of theJVM

DevX - Software Development Resource

Textfield focus

Question: I have a frame with a few textfields on it. How can I set the focus to the first textfield? Is there something like setFocus? Answer: A component can

DevX - Software Development Resource

Mouse Event Handling

Question: How do I program the right mouse button to bring up a window or dialog box when I right-click on a particular button? Answer: All Java AWT components exhibit

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

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

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

Limiting rows returned by SELECT

Question: In PL/SQL, the following syntax is allowed: SELECT * FROM table WHERE ROWNUM < 25 This would return the first 24 rows of a table. Is there anything equivalent

DevX - Software Development Resource

System information..

Question: I’d like to write a little program that determines the type of system one has. It would be able to report, among other things, processor type, system/bios type/ver #,

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

DevX - Software Development Resource

External JavaScripts

Question: Can a script be placed in an external JavaScript file so it doesn’t have to be placed on all 200 pages of our Web site? Answer: Yes, as long

DevX - Software Development Resource

Technologies and Choices When Building a Web App

Question: We are trying to develop an intranet application and have traversed many rough roads and dead ends. Our environment is Internet Explorer 4.0 (some IE3), SQL Server 6.5 (soon

DevX - Software Development Resource

Capturing Search Engine Results

Question: I would like to have a page that allows a user to conduct a search. I would like the action of the search to be an ASP page that

DevX - Software Development Resource

JavaScript On or Off?

When using JavaScript in your Web pages, you should keep in mind that a user’s browser might not support JavaScript. This could either be because the browser is old or

DevX - Software Development Resource

Cursors Ready

Using JavaScript, you can set up a form such that when the Web page is loaded the cursor is in the text box. This functionality avoids making the user click

DevX - Software Development Resource

Namespace std May Not Be Modified

Generally, namespaces are open so it is perfectly legal to expand existing namespaces with additional declarations and definitions in several files. The only exception to the rule is namespace std.