Applet and Data Base. Help me PLEASE!!!

Hi,
I'm a brazilian man.
Can a applet make consults in my data base each "x" seconds?
I need open a frame with other applet inside him (the frame)...
Open the frame after check a flag in my data base.
Have you a source code for this problem?
I hope you can help me!!!
I'm waiting...

Hi,
I need a applet that check a flag in my database each "x" seconds...
Must I to use RMI for access the remote database, ok? How (if yes)?
If the flag is found then a "new MyFrameClient()" is open... This system is for instant communication for two active users in my site! First, a user click on link for invitation (then update fields in my database) and a "new MyFrameServer()" is open. Second, after check in database, a "new MyFrameClient()" is open and start chatting.
Understand me?
I hope you can help me, please!!! Know (or have) you for a source code for this?
I'm waiting for reply, ok!!!

Similar Messages

  • JavaServer Faces and Data Bases - Help me!

    I am beginning in JSF and I have that to create one aplication using JSF.
    somebody could indicate me a site or send for me code samples of JSF and data base, using insert, delete and update?
    since already I am thankful!

    Serarch google for "JSF CRUD table". Also, please read SUN JDBC tutorial.

  • Applet and data base error.    java.security.AccessControlException:

    Hi All
    I am new to java.
    I am trying to access data base SQL 7.0 thru an applet but its giving an error "java.security.AccessControlException:"
    Can any one help me plz!!!!
    Thx in advance
    Vipin

    Is a Applet Application so, u have to sign the application using jarsigner tool
    visit :
    http://java.sun.com/j2se/1.3/docs/tooldocs/win32/jarsigner.html
    http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.html
    If NOT/before
    Create a file name called ".java.policy" and placed/saved it in user home directory.
    All the best
    Edward.I

  • My Documents and Data on my phone are taking up half of my storage! I have no idea what my documents and data are?! Please help!

    My Documents and Data on my phone are taking up half of my storage! I have no idea what my documents and data are?! Please help! I need to reduce it

    DDAAYY wrote:
    i need to free storage on my phone,
    because you want to put more Documents & Data on it.
    Make sure you sync photos to computer then delete from Camera Roll. (Camera Roll photos are part of Documents & Data).
    Delete some apps on the iPhone.
    Then Restore iPhone in iTunes.

  • Relational schema and difference berween relational schame and data base schema ?

    Hi ,
    Am new to Database
    Can u help me to understand relational schema and data base schema ?
    thanks

    Hi Neil,
    I'm not good with the relational schema, which is being deprecated. Given your results though, you might try
    doing a count of distinct GIDs in the index table and compare it with the number of distinct geometries to make sure
    your index is complete.
    Also, if you have quadtree indexes at the same level in both Object-relational and relational then you can compare the
    number of index entries in both models.
    Hope this helps,
    Dan

  • Difference between data dictionary and data base

    Hi,
    Please give me clear view on data dictionary and data base.
    Thanks
    margani

    Hi Margini,
    Please check the forms u can find the lot of answers
    Here is a link
    http://www.sapdb.info/abap-data-dictionary/
    What is a data dictionary?
    Data Dictionary is a central source of data in a data management system.  Its main function is to support the creation and management of data definitions.  It has details about
    ·            what data is contained?
    ·            What are the attributes of the data?
    ·            What is the relationship existing between the various data elements?
    Best regards,
    raam

  • REPORT AND DATA BASE SETUP

    i have been using CView Manager 11 to do my reports and is relatively easy to setup reports to the data base, but not all of my reports work with this program plus there is no user manual available.  So I am trying to switch over to Chrystal Reports 11 with little success.  I can not figure out how to setup the data base server with this program.  I am trying to access the McKesson IntelliShelf Supply (Supply Scan) data base server.  Is there anyone that can help me with this?

    McKesson is an OEM partner of ours. I suggest you ask them how to.

  • Importing music, artwork and data base from external hard drive

    I purchased a MacBook to use primarily as a music server. I have an external hard drive with over 300GB of music files ripped from CDs in Apple Lossless with a computer using Windows XP. I also have another external hard drive formatted for the Mac. My goal is to attach both drives to the MacBook via USB and transfer the music files, album art, and iTunes data base from the Windows system hard drive to the new Mac formatted hard drive. Then I am going to reformat the Windows system hard drive to the Mac format and use it as a back up for the other hard drive. Has anyone ever done something similar? If so, I would appreciate some guidance. If possible, I want to do the above so that the file names and artwork from the Windows itunes system do not get changed or left out when making the transfer to the Mac system. All music files will still be in ALAC. Thanks to all for your help.

    Lots of programs out there from which to choose. In the meantime, don't access the drive.
       18 Free Data Recovery Software Tools
    -Jerry

  • TextFields / labels in Applet...Urgent help needed please!!

    I have been trying for days to add labels and textFields to my applet and can only manage to display one.
    My assignment instructions suggest I use makeTextField method and call the setEditable method from the makeTextField method to avoid repetition of code.
    The following is my code...I must have this done in the next couple of days so if someone could please please give me some assistance it would be really appreciated....also, thoughts on my layout would be great as well...i cant seem to set up my buttons in the correct order.
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.Applet;
    public class Registry4b extends Applet implements ActionListener {
    public void init() {
    backgroundColor = new Color(200,255,255);
    this.setLayout(new FlowLayout(FlowLayout.CENTER,4,1));
    makeButtons();
    row1 = makePanel(new FlowLayout(FlowLayout.LEFT,4,2),backgroundColor);
    row1.add(clearB);
    row1.add(studFindB);
    row1.add(studForB);
    row1.add(courB);
    row2 = makePanel(new FlowLayout(FlowLayout.LEFT,4,2),backgroundColor);
    row2.add(studBackB);
    row2.add(courFindB);
    row2.add(courForB);
    row2.add(studB);
    row3 = makePanel(new FlowLayout(FlowLayout.LEFT,4,2),backgroundColor);
    row3.add(courBackB);
    add(row1);
    add(row2);
    add(row3);
    Panel p = new Panel(new BorderLayout());
    Label studID = new Label("STUDENT ID");
    TextField entry = new TextField(" ");
    p.add(studID,BorderLayout.WEST);
    p.add(entry,BorderLayout.CENTER);
    Label firstTF = new Label("FIRST NAME");
    makePanel(new BorderLayout(2,2),backgroundColor);
    add("West",courBackB);
    add("East",studB);
    makePanel(new BorderLayout(2,2),backgroundColor);
    add("North",p);
    add("South",courForB);
    makePanel(new BorderLayout(2,2),backgroundColor);
    add("North",courFindB);
    add("South",studBackB);
    makePanel(new BorderLayout(2,2),backgroundColor);
    add("West",p);
    add("East",studForB);
    setBackground(backgroundColor);
    clearB.addActionListener(this);
    courBackB.addActionListener(this);
    studB.addActionListener(this);
    courForB.addActionListener(this);
    courFindB.addActionListener(this);
    studBackB.addActionListener(this);
    courB.addActionListener(this);
    studForB.addActionListener(this);
    studFindB.addActionListener(this);
    private Label makeLabel(String label) {
    Label label1 = new Label(label,Label.RIGHT);
    label1.setFont(new Font("Courier",Font.BOLD,10));
    return label1;
    public void start() {
    appletWidth = 8*4+row1.getSize().width;
    appletHeight = 8*(2+courBackB.getSize().height);
    public void paint(Graphics g) {
    setSize(appletWidth,appletHeight);
    validate();
    public void actionPerformed(ActionEvent e) {
    String s = (String)e.getActionCommand();
    private Button makeButton(String label, Color color, Font font) {
    Button b = new Button(label);
    b.setBackground(color);
    b.setFont(font);
    return b;
    private Panel makePanel(LayoutManager lm, Color c) {
    Panel p = new Panel();
    p.setLayout(lm);
    p.setBackground(c);
    return p;
    private void makeButtons() {
    Font f = new Font("Courier", Font.BOLD, 10);
    Color grey = new Color(255,100,100);
    clearB = makeButton("CLEAR",grey,f);
    studB = makeButton(" STUDENTS ",grey,f);
    studForB = makeButton("->",grey,f);
    studFindB = makeButton("FIND",grey,f);
    courFindB = makeButton("FIND",grey,f);
    studBackB = makeButton("<-",grey,f);
    courB = makeButton(" COURSES ",grey,f);
    courBackB = makeButton("<-",grey,f);
    courForB = makeButton("->",grey,f);
    TextField addressTF = new TextField("ADDRESS", 10);
    static final String initialString = " ";
    String Filler = " ";
    Panel row1, row2, row3, p1;
    int appletWidth, appletHeight;
    Button clearB, studForB, studFindB, courFindB,
    studBackB,courB, courBackB, studB, courForB;
    Color backgroundColor;
    the buttons currently dont do anything. this is stage 1 of 3 for my 3 part assignment. for now i am just supposed to get the format right and show sample text in the textfields.
    the format is supposed to look something like the following (cant copy existing as it is protected)
    <- STUDENTS -> CLEAR <- COURSES ->
    student id FIND course id FIND
    last name_________first name______course name_____
    address________________________________________
    city______province___________p.code______________
    phone__________e-mail_______coordinator___________
    #of courses completed_____ #of students passed______
    student's average grade___ students grade ave grade___
    messages______________________________________
    the ones in caps are buttons and the rest are labels with text fields beside most of the labels.
    i apologize for the extremely long question but i hope this is what you were looking for to give me some help...anything would be greatly appreciated!!
    thanks in advance for anything someone can do for me

    hi,
    may this helps to solve your problem
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.Applet;
    public class Registry4b extends Applet implements ActionListener {
    TextField sid;
    TextField cid;
    public void init() {
    backgroundColor = new Color(200,255,255);
    setLayout(new GridLayout(2,1)); // 2 rows, one column, first row for search, the second for output
    Panel up=new Panel(new GridLayout(3,1)); // search panel
    Panel down=new Panel(new GridLayout(1,1)); //output panel
    down.add(new Label("Just for the output"));
    Panel p1=makePanel(new GridLayout(1,7),backgroundColor);
    makeButtons();
    p1.add(studBackB);
    p1.add(studB);
    p1.add(studForB);
    p1.add(clearB);
    p1.add(courBackB);
    p1.add(courB);
    p1.add(courForB);
    up.add(p1);
    Panel p2=makePanel(new GridLayout(1,3),backgroundColor);
    p2.add(makeLabel("Student ID"));
    sid=new TextField("");
    p2.add(sid);
    p2.add(studFindB);
    up.add(p2);
    Panel p3=makePanel(new GridLayout(1,3),backgroundColor);
    cid=new TextField("");
    p3.add(makeLabel("Course ID"));
    p3.add(cid);
    p3.add(courFindB);
    up.add(p3);
    add(up);
    add(down);
    private Label makeLabel(String label) {
    Label label1 = new Label(label,Label.RIGHT);
    label1.setFont(new Font("Courier",Font.BOLD,10));
    return label1;
    public void start() {
    //appletWidth = 8*4+120;//row1.getSize().width;
    //appletHeight = 8*(2+courBackB.getSize().height);
    appletWidth=200;
    appletHeight=90;
    public void paint(Graphics g) {
    setSize(appletWidth,appletHeight);
    validate();
    public void actionPerformed(ActionEvent e) {
    String s = (String)e.getActionCommand();
    private Button makeButton(String label, Color color, Font font) {
    Button b = new Button(label);
    b.setBackground(color);
    b.setFont(font);
    return b;
    private Panel makePanel(LayoutManager lm, Color c) {
    Panel p = new Panel();
    p.setLayout(lm);
    p.setBackground(c);
    return p;
    private void makeButtons() {
    Font f = new Font("Courier", Font.BOLD, 10);
    Color grey = new Color(255,100,100);
    clearB = makeButton("CLEAR",grey,f);
    studB = makeButton(" STUDENTS ",grey,f);
    studForB = makeButton("->",grey,f);
    studFindB = makeButton("FIND",grey,f);
    courFindB = makeButton("FIND",grey,f);
    studBackB = makeButton("<-",grey,f);
    courB = makeButton(" COURSES ",grey,f);
    courBackB = makeButton("<-",grey,f);
    courForB = makeButton("->",grey,f);
    TextField addressTF = new TextField("ADDRESS", 10);
    static final String initialString = " ";
    String Filler = " ";
    Panel row1, row2, row3, p1;
    int appletWidth, appletHeight;
    Button clearB, studForB, studFindB, courFindB, studBackB,courB, courBackB, studB, courForB;
    Color backgroundColor;
    }interesting for you is only the init()
    regards

  • CRM sales order and data base field in R/3

    Where can I see in R/3 that the replicated CRM sales order is created in CRM?
    Is there a field e. g. in the data base table VBAK or VBAP?

    Hi,
    you can find the information in VBAK table in field LOGSYSB, which is the logical system with which document was created.
    Enter the CRM logical system name in this field, and you will find all the orders created in CRM system.
    Regards,
    Susanta

  • Insertion of image in the data base - Help-me!!!!

    hello for all..., Well, somebody has some example of insertion of image in the data base saw upload, using JSP (Scriptlets)?
    or some example that I can insert in the bank the name of the image, and the image in a directory!???????
    Thank�s!

    if u r using sql server then u can define a column as TEXT and insert the file as binayr data, along with that u can store the file name.
    While retirving u can creat a fileiputstream and read the binary data and displya the image in the browser.
    Another way is to use upload servlet and store the image files in the server hard drive and store the image name and path in datbase .

  • ODM and Data base version

    I have a 32 bit server as Oracle data base server and I had 9.2.0.1 version installed but ODM need at least 9.2.0.2 version. But this version doesn't work in a 32bit processor server. Does the Linux version of 9.2.0.2 works in a 32 bits processor server?

    9.2.0.2 certainly works on 32-bit Windows machines. Are you sure you're installing the 32-bit patchset rather than the 64-bit patchset?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Deleted files from the Original and Data folders - help?

    Hello,
    I imported my fiance's iphoto library to try to recover photos that I lost from when my hard drive crashed. They first were not importing into iphoto (while the files were on the harddrive), so I placed them in my Originals/Data iphoto folders. Now I have 6-8 versions of files that I don't even necessarily need, mostly thumbnails and a few of the original files.
    I know I have made a lot of mistakes... so at this point what do I do- I've stopped manually deleting folders from these categories, but I do not want to lose what precious pictures I had from before the harddrive failure, and how do I get back to a iphoto library without duplicates?
    Please advise!!! Thank you!

    My library still opens within iPhoto- will it continue to do so? Do I need to do anything now (since I have already messed with the Originals and Data folders?)
    In addition, iPhoto now shows me blanks for some pictures/events, is there a way to have iPhoto scan the entire computer and realize files are missing and to ignore them?
    Therefore it is not a fully functioning iPhoto library - it is corrupted
    3 - if you do not have a fully functioning iPhoto library then quit iPhoto and drag the iPhoto library to the desktop, launch iPhoto and create a new library and then open the bad iPhoto library on the desktop and open the originals folder and drag each folder from it onto the iPhoto icon in the dock (or the iPhoto event window) to create events with all of your photos, then back up and run duplicate annihilator
    Since you have corrupted your library you can do anything you want to it before you create a new one from the remaining photos
    LN

  • Why all of a sudden has one of my apps (Condition Report App) only displaying at the top right hand corner it is a quarter of the size it should be, i have tried setting my ipad back to factory settings and this hasnt helped some please help??? :)

    One of my apps (condition report app) has decided to only display on the top right hand corner which is only a quarter of the screen, not sure what has happened as i have not changed any settings went to go into it one day and it was just like it.
    Please help!!!! Thanks Kristy

    Do you have the most up-to-date version of the app? Did you upgrade to iOS 6? Did you check to make sure that the developer has updated the app for the new OS? Have you tried resetting your device by pressing and holding the Home button and power button until the silver apple appears? Have you tried uninstalling and re-installing the app?

  • PDA and data synchronization -help required

    Hi,
    I have experince in developing web applications in jsp/servlets and php. I wish to develop a PDA supported java server
    application. I have downloaded netbeans for using as an IDE. It does have support for mobile emulators, but does not support
    PDA/Palm OS emulators.
    What about IBM websphere and eclipse for using as IDE? Will they support J2ME SDK? Please help me in devoloping my PDA
    application.
    why we use data synchronisation for laptop and PDA for web applications? Why is it not applied in normal PC?
    Thanking in advance,
    From,
    Vinod

    Vinod, you might want to look at the palm.com web site. There is quite alot of information available for developers.
    By reading your original query, I assume you are talking about thread safety and not synchronization, per se. Thread safety is very important in a web app as you surely know. If you don't and have been developing Servlets/JSPs then, hoo boy!

Maybe you are looking for