I'm confused. Since (a instanceof b) won't even compile unless you have compatible types on both sides, what use is it? I mean, I already have to know that a is declared as type b or as a child of type b, so... what's the magic of having an operator tell me? And if it's only telling me...
I hope this isn't a total "newbie" question. I've searched everywhere (including here) and can't find a decent answer. I feel better that the Deitel Java book says that a discussion of Class.forName is "outside the scope of this book".
Here goes:
What does...
To gain some flexibility in Java and Swing, I've been playing around with creating a "PlayingCard" component and implementing some simple card games. PlayingCard extends JPanel and simply uses two JLabels to display a suit icon and a number. PlayingCard also catches mouseDragged...
I've got ISA set up and have created a "Site and Content Rule" to Deny access to the web to a particular group of computers. It doesn't work. I've also tried to create a Shite and Content Rule to Deny access to the web for a particular user account. It also doesn't work.
What's...
I'm running an asp-based page on our internal intranet. All users are locally NTLM authenticated. It's running the standard configuration that I've used a bezillion times:
Directory Security set to Integrated Windows Authentication (only).
ASP is connecting via ADO using a UDL that has...
I have the need to resize a RichTextBox control based on its contents. Because it's rich text, the contents can be stored in many different fonts, point sizes, styles, etc. Does anyone know of a way to calculate/query/get/find/etc. the size (esp. vertical) of the text being displayed in a...
I have the need to resize a RichTextBox control based on its contents. Because it's rich text, the contents can be stored in many different fonts, point sizes, styles, etc. Does anyone know of a way to calculate/query/get/find/etc. the size (esp. vertical) of the text being displayed in a...
If I've scripted SP's and views out to files, I seem to remember there's a way around the problem of dependent objects being created before the objects they depend on, basically deferring their compilation until all objects have bene loaded.
Am I smoking something or is there a way to do this...
I'm trying to link a Visual FoxPro DB (Free table directory) to SQL Server (2K) as a "Linked Server". This will (would!) allow me to access the FP tables as though they were tables in SQL Server and (the whole goal) do joins against other datasources.
The problem is, when I try to...
I'm trying to link a VFP DB (Free table directory) to SQL Server as a "Linked Server". This will (would!) allow me to access the FP tables as though they were tables in SQL Server and (the whole goal) do joins against other datasources.
The problem is, when I try to use my ODBC DSN...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.