Hi,
Please could someone help me to use the Netbeans wizard (or another way) of creating Entity classes from an existing database (SQL Server) using Intergrated Authentication.
I have the driver set up and configured to use Intergrated Authentication and this works when you create a simle Java...
Hi all,
I have the code below...see bottom of thread
I am using netbeans 6.9, if i just run the file as is, it connects to the DB and disconnects just fine. However, if i create an instance of this class from within another class and call the QueryDB() method, i get this error...
Hi all,
Im really stumped with this...im new to T-SQL and trying to write a stored procedure. This is my code:
CREATE PROCEDURE SetStrandState
@pCableName varchar(50),
@pStartStrand int,
@pEndStrand int,
@pStrandState int,
@pComment varchar(80),
@pUser varchar(25)
AS
DECLARE
@OutputMsg...
Hi,
I have a midlet that uses two seperate GameCanvas classes. Both GameCanvas classes are declared in the Midlet file and instantiated within an initialization method in the same Midlet class. Both GameCanvas implement runnable and have continous loop run methods.
These run methods are both...
Hi,
My app does not always seem to quit, i am using...
App.getApplication().exit();
The window will disappear, but the app will still be running in the background, but only sometimes.
I have determined that the cause is a database connection awaiting a response from the db server. At any...
Hi,
I am developing an app that uses a custom canvas that fills the entire Frame that the app runs in. The app is driven form interacting with the content rendered on this canvas (in this case a schematic drawing that is navigated around)
What i would like to do is have jButtons (and maybe...
Hello,
I have constructed a Jtree from DefaultMutableTreeNodes which have been created within a loop from a database recordset.
The final step in my process is to create the JTree from the root node. This works great, and all the child nodes work fine.
Now though i want to expand certain...
Hello there,
Please can anyone tell me if i can sign an Applet within Netbeans? I am writing an applet to access an oracle database on our network, and i understand it needs to be signed in order to do this?
The applet works fine in the Netbeans Applet viewer, but not from a browser.
Also...
Hi all,
Please can anyone tell me the fastest and most efficient way to dump the entire contents of a recordset (in this case anything from 700 to 60000 rows) into a specified worksheet?
The way i am doing it thus far is:
1. query the db to obtain records
2. loop through each field of each row...
Hi,
I have suddenly got an error when i switch to design view in my Java project.
The error states 'Error loading component', 'Cannot create an instance of the class' which is a custom canvas.
The message tells me to go through and fix reported errors, but there are none! the program compiles...
Hi there,
Kinda new to Java, and trying to reference the class that created an instance of the class i am referencing from.
i.e.
If Class A creates an instance of Class B, how can i write code in Class B that accesses a member (a variable in this case) of Class A. The instance of Class B was...
Hi,
I have a query that pulls 1000's of records from about six different joined tables to create an extract that i need. However, i need to filter out line feeds and carriage returns. Normally i would use the REPLACE(... function, but you cant use this on Long types.
I believe i need to use...
Hi,
Please can anyone tell me if (and how!) i can write an SQL statement to return a specified tables Field Names, DataType and Size? rather than the actual data it contains.
If this is possible, i will be using TOAD to exectue the statement.
many thanks
Martin
Hi,
Can anyone please tell me if it is possible to tell whether or not CAPS/NUM/SCROLL locks are on/off thru VB code, if so, can you point me in the general direction.
Thanks in advance
Hi,
Im trying to use:
window.document.getElementsByName('DIVname');
to access a <DIV> section, i then want to be able to access the overflow-x and y of that DIV's overflow so i can produce a scrolling effect from a loop.....but i dont know how at access these, any ideas?
Thanks.
Hi there,
I have a table with fixed header and footer, but scrollable table body that is defined within a <div> tag as follows:
<div style="height:450px; overflow: auto;">
<TABLE>
.......
</TABLE>
</DIV>
What i would like to achieve is to be able to automatically scroll the table...
Hi,
Ive read on an article about the <TBODY> tag, that it enables the data in a table to be scrolled whilst leaving the header and footer static. Can anyone explain to me how to achieve this, or provide me with an example?
Thanks in advance
Hi there,
Im about to start creating a web page to display reports. The report content will be displayed within a frame. What i am trying to achieve is to get the report to scroll verticaly until it reaches the bottom (as if you were manually pulling the scrollbar down) and then reset and...
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.