Majestics 84 Posting Pro

Thanx, to the point answer.....................

Majestics 84 Posting Pro

Can any one give a useful link to learn oracle report server and also how to connect it with java application.... Thank you.

Require second question answer....

Majestics 84 Posting Pro

Got my Mistake Sorry.................

Majestics 84 Posting Pro

then y extend keyword is used....

Majestics 84 Posting Pro

I already have given a link

Majestics 84 Posting Pro

if u are talking to me then

public final class DiffieHellman extends java.applet.Applet implements
Majestics 84 Posting Pro

Amazing.... it worked like u said... Thanx a bunch.... i m not lieing also no intention to try a master poster..... I know u are professional ;-)

Majestics 84 Posting Pro

A final class cannot be extended.
http://en.wikipedia.org/wiki/Final_%28Java%29

Majestics 84 Posting Pro

Threads are a light weight program.... and your O.S deal with threads its not the Compiler or language.

Majestics 84 Posting Pro

Can any one give a useful link to learn oracle report server and also how to connect it with java application.... Thank you.

Majestics 84 Posting Pro
if(e.getSource() == insertButton)
{
model.addRow(rowNumber,new Object(){"1","2","3"});
}
//--------- Model is Default Table Model Object ----------------
//---------Model is used in table which is JTable Object ---------------

when i press insert button a new row is inserted and it remain at top rather then below.

Majestics 84 Posting Pro

Yes they are... happened during pasting.....

Majestics 84 Posting Pro

havnt u use addRow of Default Model Class......................... try it.

Majestics 84 Posting Pro

Jtable insert new inserted row at the top.... I want the new inserted row below.

Problem

10 james microsoft c.e.o
9 peter linux mgr


requirement

9 peter linux mgr
10 james microsoft c.e.o

Majestics 84 Posting Pro

It solved dear.... Well its to_date for oracle date function not for java.... Thanx for trying.

Majestics 84 Posting Pro
"insert into invoice(sno,entrydate,invoicedate,companyname,party,station,purchase,avail,sale) " + values("+Integer.getInteger(head.getSerial().getText())+",to_date('"+head.getEntryDate().getText()+ "','dd/mm/yyyy')"+",to_date('"+head.getInvoicedate().getText()+ "','dd/mm/yyyy')"+",'"+head.getCompany().getSelectedItem()+"'"+"'"+head.getParty().getSelectedItem()+"','"+head.getStation().getSelectedItem()+"',"+Integer.getInteger(head.getPurchase().getText())+",1,"+Integer.getInteger(head.getSale().getText())+")");

SNO NOT NULL NUMBER(38)
ENTRYDATE DATE
INVOICEDATE DATE
COMPANYNAME VARCHAR2(50)
PARTY VARCHAR2(50)
STATION VARCHAR2(50)
PURCHASE NUMBER(10,2)
AVAIL NUMBER(1)
SALE NUMBER(10,2)

Whats wrong in this query.... I am getting sqlException ....

Majestics 84 Posting Pro

Or for dynamic setting u can use toolkit function and setPrefered size of each component.

Majestics 84 Posting Pro
setResizable(false);
Majestics 84 Posting Pro

Thanx..... It mean i m not the only one who dont like work all time. ;-)

Majestics 84 Posting Pro

Think if i have 140 textfields , 200 buttons with images... and 10 frames in an app... then it would take almost all of my ram if java fail to clean the resources on close... kind of poor background for java.

Majestics 84 Posting Pro

Any one there answer my this question... Y frame object isnt "null" y it has still resources....

Majestics 84 Posting Pro

Interesting, i just checked it and it worked like u said.... then when JFRAME object free the resources..... I thought in java objects free the resources on close and make them null so we can use them later, start from basic intialization... But this thing make no sense.... even after closing the frame it is present and using the resources....

Majestics 84 Posting Pro

When we define a new variable for frame it hold "null" value, but what it contain when we close that frame?

Majestics 84 Posting Pro

You forget to add constructor....

DropGame()
{
addKeyListener(this);
}
Majestics 84 Posting Pro

From where i can set NLS Setting directly, i mean file name..... Or through query....

Majestics 84 Posting Pro

http://www.orafaq.com/maillist/oracle-l/2002/07/30/2511.htm

cHECK THIS question , i want to ask same question.

Majestics 84 Posting Pro

what your are using oracle forms or java?

Majestics 84 Posting Pro

use varchar2.

Majestics 84 Posting Pro

I want oracle to take '01-01-0001' format as a default date format.... Right now its '01-jan-0001'....

Majestics 84 Posting Pro
JFrame f = new JFrame();
			calendar = new JCalendar();
			f.add(calendar);
			f.setLocation(new Point(head.getCalendarButton().getLocation()));
			f.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
			f.setSize(new Dimension(400,400));
			f.setVisible(true);

here is my code....

Majestics 84 Posting Pro

I dont want to start new thread to ask a new question .... has any one used JCalander Api.... how can i set its feel and look to modern.... i have read the documentation but didnt get it.... so if any one already know he can save my time..

Majestics 84 Posting Pro

java Addict thanx... i already know about them.... I already know about NLS_DATA PARAMAETER, PROBLEM IS IT ISNT WORKING... so i came here to get some great advices from professionals.

Majestics 84 Posting Pro

is there any mod who can move my this thread to oracle forum....

Majestics 84 Posting Pro

Opps... Sorry i thought there isnt any oracle forum here.... Amazing to put databases in web development section.... Y not a seperate Menu for it....

Majestics 84 Posting Pro

i m not asking for java , i m asking for oracle....

Majestics 84 Posting Pro

Oracle accept dates in '00-JAN-0000' format, is there any way i can change it to '00-01-0000'.

Majestics 84 Posting Pro

Please post error

Majestics 84 Posting Pro
public class PhoneBookEntry {
     
    private String name;
    private String number;
     
    PhoneBookEntry(String string, String string2 ){
    	name = string;
    	number = string2;
    }
    public void setName (String phoneName){
    name = phoneName;
    }
    public String getName (){
    return name;
    }
    public void setNumber(String phoneNumber){
    number = phoneNumber;
    }
    public String getNumber(){
    return number;
    }
    public static void add(PhoneBookEntry phoneBookEntry) {
    // TODO Auto-generated method stub
     
    }
    }

Where are u stucked... I just modified a bit code.... i think u are stuck in printing.

Majestics 84 Posting Pro

Seems like very difficult question......... i m closing this thread... thanx for helping.

Majestics 84 Posting Pro

i just made it simple , if this question solve other solve too....

In the above pic i selected column b but where is column a for that row........ I think u get it.... I want user to select column a then b and then c .... he cant run from that row where he select column a until he select column c.

Majestics 84 Posting Pro

You guys are really helping me... need any more info just ask it....

Majestics 84 Posting Pro

Check this

Majestics 84 Posting Pro

user in row1 -> select microsoft (column a) , column b populated in row1 only not in all rows............ This is my problem. java populate combo box b for all rows ... i want it to remain row specific... Make a small program and u will see what happen...

Majestics 84 Posting Pro

Yes its all my fault but all i need a solution... i thought java support each row with seperate combo box but its all column....

Majestics 84 Posting Pro

yes u right james it isnt friendly gui practice in which user can mess up the whole database... all i want that user must pass serially from column a to c in each row.

Majestics 84 Posting Pro

I have found a solution can any one code it....

If i select a value in column a at that time i will record it row number , when i will select value from column b i will match the row number if row number matches then values are listed else an empty column b

Majestics 84 Posting Pro

user must stay in the same row and select another column........... until he selected column c he wont be able to go into another row...

Majestics 84 Posting Pro

Loadshedding time is near here...... Thanx Norm for giving your precious time.... i will be back after an hour

Majestics 84 Posting Pro

yes...... i want user to select column a first in that row where he is selecting values

Majestics 84 Posting Pro

i dont want user to select any choice in "b" until that row "a" is selected. same for c