Re: Frames and applets..

I am new to java and want to know what is the hierarchy of
putting components such as windows , frames , applets etc on the
screen?? can I put an applet on a scroll pane or the other way round??
Is there any thumb rule to design / know which component will contain the other one??
I am confused with the hierarchy given in the Java HTML DOC in my system.
Regards
Ayusman.

I am confused with the hierarchy given in the Java HTML DOC in my system.It is indeed a bit confusing when you first look at it. At the top level of it all is the
Window class; it's a top level, independent window as you know it when
you look at your screen. A Window is just a rectangular area on your screen.
First there was just AWT (Abstract Windowing Toolkit), but to confuse matters a
bit further, there's Swing too. As a rule of thumb all Swing thingies inherit from
their AWT counterparts and prepend a 'J' to their name.
A Frame (AWT) or JFrame extends a Window/JWindow and implements a top
level window with a border and a title bar (and possibly a toolbar and a menubar).
There's a third form of top level windows: the Dialog (AWT) or JDialog (Swing).
Inside those top level windows (which happen to extend the Container class),
many other Components or JComponents can be stored like Buttons or
JButtons etc. etc. etc.
As another rule of thumb: never mix the AWT components with Swing components.
When you get more familiar with those two systems you'll understand.
kind regards,
Jos

Similar Messages

  • Working with frames and applets

    Hi, I am writing an applet that recieves information from a sever. before the applet loads I display a frame that allows the user to select the information that is transfered across the net.
    I block the applet from finishing until the okay button is clicked on the frame. However if I don't add my frame to the applet I can't manipulate the frame, and the frame doesn't recognize any mouse events
    When i do add the frame to the applet, the checkboxes work and the button toggles, but the click doesn't do anything.
    Finally the program works while using the applet viewer but it doesn't work across the net. Any information any one has would be greatly appreciated.

    here is the code of the frame that doesn't work
    import java.awt.*;
    import java.awt.event.*;
    public class channelSelect extends Frame implements ActionListener
    {/*This class alows the user to pick from a number of channels to be transfered
    across an internet connection*/
    private int channels = 8; //the total number of channels
    private Checkbox[] checkbox = new Checkbox[channels]; //an array of checkboxes
    private Button button1 = new Button(); //the button to signify the user has choosen the channels
    private int[] c = new int[channels]; //an array to determine which checkboxes were checked
    private boolean done = false; //a flag to tell the base class if the user is finished
    public channelSelect()
    try
    jbInit();
    catch(Exception e)
    e.printStackTrace();
    public int[] obtainChannels()
    {//returns the array of choosen channels
    return c;
    public int isDone()
    {//returns if the user is finsihed
    if(done)
    return 1;
    else
    return 0;
    private void jbInit() throws Exception
    {//sets the layout for the frame
    this.setLayout(null);
    this.setTitle("Select Channels");
    for(int j = 0; j < channels; j++)
    checkbox[j] = new Checkbox();
    checkbox[0].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[0].setBounds(new Rectangle(64, 55, 198, 20));
    checkbox[0].setLabel("sinwave");
    checkbox[1].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[1].setBounds(new Rectangle(64, 133, 198, 20));
    checkbox[1].setLabel("squarewave");
    checkbox[2].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[2].setBounds(new Rectangle(64, 211, 142, 30));
    checkbox[2].setLabel("coolant temp");
    checkbox[3].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[3].setBounds(new Rectangle(64, 289, 198, 20));
    checkbox[3].setLabel("No signal1");
    checkbox[4].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[4].setBounds(new Rectangle(356, 55, 198, 20));
    checkbox[4].setLabel("No signal2");
    checkbox[5].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[5].setBounds(new Rectangle(356, 133, 198, 20));
    checkbox[5].setLabel("No signal3");
    checkbox[6].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[6].setBounds(new Rectangle(356, 211, 198, 20));
    checkbox[6].setLabel("No signal4");
    checkbox[7].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[7].setBounds(new Rectangle(356, 289, 198, 20));
    checkbox[7].setLabel("No signal5");
    this.setBackground(new java.awt.Color(0, 200, 250));
    button1.setBounds(new Rectangle(235, 477, 98, 30));
    button1.setLabel("OK");
    button1.addActionListener(this);//new java.awt.event.ActionListener()
    public void actionPerformed(ActionEvent e)
    button1_actionPerformed(e);
    */ this.add(checkbox[0], null);
    this.add(checkbox[5], null);
    this.add(checkbox[6], null);
    this.add(checkbox[1], null);
    this.add(checkbox[7], null);
    this.add(checkbox[2], null);
    this.add(checkbox[3], null);
    this.add(checkbox[4], null);
    this.add(button1, null);
    this.setSize(610,527);
    this.setVisible(true);
    this.toFront();
    public void actionPerformed(ActionEvent e)
    {//populates the array of choosen channels
    Object source = e.getSource();
    if(source == button1)
    for(int i = 0; i < channels; i++)
    if(checkbox.getState())
    c[i] = 1;
    else
    c[i] = 0;
    done = true;
    and this is where i instantiate it and call some of it's methods.
    /* Setup channel selections */
    channel_select = new channelSelect();
    while(channel_select.isDone() == 0)
    { //wait for the channel selection to occur
    channels = channel_select.obtainChannels();
    channel_select.dispose();
    channel_select = null;
    setChannels();

  • Frames and applet reloading

    Hello
    I have a for performance to stop my applet from reloading. I constructed a simple frameset with my applet in one and the view frame. It works fine the first time. I post out of the view to a struts configuration and to a getInputForward() to just get back with the same session but it reloads the applet. Is there a way to stop an applet from reloading if it is in a separate frame? I know I can use ajax, but would like to make this simpler approach work, if possible. tia.

    Hello
    It does work. I needed to set the input attribute and use the javascript location.reload() to update the page. It is here for some future search, or maybe not if it was so obvious, grin.

  • Diferences between frame and applet

    Hello all
    I have a problem with using an applet,
    In my applikation i have a simple frame which shows some rows of a table in a mysql database.
    I thougt i just can use this frame in an applet, but allthough i see the applet in jbuilders appletviewer it does not work in both browsers i tried (ie6, nc4.6) in ie it just shows a grey surface and in netscape it get an security violation : method verifikation error.
    how can i properly establish a JDBC Connection from an applet?
    Now i have tree classes....one to connect to the database, one to model and a GUI

    Hello there
    I got a similar problem about one year ago. You ge a result using application or appletviewer, because in these cases both programs are able to use the hardware of your computer. By opening the applet in a browser it runs in a "sandbox" and isn't able to use hardware any more. Unfortunately I wasn't able to solve this problem, although there is literatue in the web how to do it.
    I went on to use servlets instead and today I'm happy I have chosen this way because the options what can be programmed are greater!
    Althoug I haven't written any link I hope I could help you.
    bye

  • I am trying to create a simple animated gif in Photoshop. I've set up my frames and want to use the tween to make the transitions less jerky. When I tween between frame 1 and frame 2 the object in frame two goes out of position, appearing in a different p

    I am trying to create a simple animated gif in Photoshop. I've set up my frames and want to use the tween to make the transitions less jerky. When I tween between frame 1 and frame 2 the object in frame two goes out of position, appearing in a different place than where it is on frame 2. Confused!

    Hi Melissa - thanks for your interest. Here's the first frame, the second frame and the tween frame. I don't understand why the tween is changing the position of the object in frame 2, was expecting it to just fade from one frame to the next.

  • Has anyone experienced this problem: I am editing in FCP 7.0.3 on a Mac 10.6.8 - I have a clip in the browser that is full frame and matched the other clips but when I drop it in the time line it becomes a fully zoomed in version of itself

    has anyone experienced this problem: I am editing in FCP 7.0.3 on a Mac 10.6.8 - I have a clip in the browser that is full frame and fine and it matches the other clips in my bins but when I drop it into the time line it becomes a fully zoomed in version of itself and I can only see a small portion of the image.  What's going on?  I've noticed this has happened in the past randomly with other clips and it's driving me cray cray!  Any help appreciated greatly and thanks in advance for taking the time

    In the FCP Browser, click on the source clip that is showing up sized incorrectly to select it. Once it is selected, type Command + 9 to see the item properties for the clip. Either report those properties here, or take a screen shot of the item properties and post the screen shot here.
    Next, click anywhere in your sequence timeline and then type Command + 0 {zero} to see your sequence settings. Either report those settings or take a screen shot of the sequence settings and post that screen shot here.
    MtD

  • Dealing with dropped frames and out of sync audio

    Hi!
    I'm using Final Cut Studio 3 and I'm trying to record some video from a pretty old MiniDV-camera. The problem is that a have some dropped frames and when I record the whole thing it gets out of sync.
    By default Final Cut aborts the capture (without saving) when it finds dropped frames. That won't work for me. I start recording, it records a couple of minutes and then it just aborts without saving anything.
    I tried to record the entire tape when using the option of not aborting on dropped frames. I recorded the entire video but not it gets more and more out of sync later and later in the video.
    So, do you have any suggestions on how to deal with this? Maybe I can use an external application for this cause I haven't found a way to deal with this in Final cut.
    Best
    Felix

    Hi(Bonjour)!
    Did you shoot in DV or HDV ?
    Did you try to capture HDV with Apple Intermediate Codec 1080i60 (or 50 for europe)?
    Does you downconvert HDV shooted to DV upon capturing from camcorder ?
    DV-NTSC 48 kHz is the way to go with downconverted material.
    Does your DV audio setting is 16 bit on FX1 ? (HDV is a fixed one).
    Michel Boissonneault

  • Uneven color between background text frame and underlying frame fill

    Hi. I'm using InDesign CS3 on Windows XP.
    On my document, the main heading is in a frame with a fill of 'None'. The heading text has a bevel and emboss. The text frame sits on a background A4 frame which is filled with a Pantone spot colour.
    When I print the cover page, the color filling the text frame is slightly different from the background Pantone color, even though the text frame has no color fill.
    When I checked the document before printing in View>Overprint Preview, it appeared to be fine. The PDF also looked fine. In both situations, I could not discern a color difference but it is there in the printed document.
    To provide a color behind the text which matches the fill color of the frame occupying the whole page, what should I do? My gut feel is to select the background frame and the text frame and check the knockout box on the effects panel or something like that.
    I hope I have explained sufficiently clearly the problem I am experiencing.
    Look forward to hearing your suggestions.
    Thanks
    Frank

    http://indesignsecrets.com/eliminating-ydb-yucky-discolored-box-syndrome.php

  • Bullet problem when creating text frames and tables in InDesign CS5

    Every time I create a new text frame or table in InDesign CS5 and paste information there, the first row in the table or several lines of text come out with bullet points. I'm sure this is a setting or style at some point I created and now am unsure of how to delete. I would like the new text frames and tables to not include bullet points as a default when imported or pasted. Any thoughts? Thanks!

    Defaults for text in the current document are made with no text selected. Turn off bullets and they should stay off (but check the styles, too, you might have accidentally set a bulleted style as the defualt and you should change the default style instead). If this is happening in all files, you need to do it with nothing open to reset the default for all new documents (existing files, unfortunately, need to be fixed one at a time).

  • Copy text frames and paste in place from source file to opened docs

    Hello All,
    I have one source indd file which is having 10 small text frames (40pt square) in both pages (Facing pages, Left and Right) on a master page. In that master page there is no frame except that 10 small text frames and the text frame contains the paragraph style called "Cat_Cont".
    I have opened some files and I want to copy that 10 small text frames from the source file and paste in place into the opened InDesign Docs master pages. I hope while copying that text frames, paragraph style also would copy. Could anyone help for this, please?
    If anything not clear plz let me know.
    Thanks in Advance,
    Thiru

    Use TextFrame.duplicate()

  • Unlocking hidden frames and strokes for iBooks Author

    Perhaps you know that there are hidden frames and strokes available for Pages, Keynote, and Numbers. There is even an installer (http://www.macupdate.com/app/mac/32390/frames-and-strokes-installer).
    These same frames and strokes are available on iBooks Author.
    Work on a backup copy for safety, of course.
    To reveal hidden strokes, change iBooks Author.app/Contents/Resources/KFGraphicInspectorSmartStrokes.plist to:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <array>
              <string>Chalk2</string>
              <string>Feathered Brush</string>
              <string>Calligraphy</string>
              <string>Dry Brush</string>
              <string>Doodles</string>
              <string>BrushA</string>
              <string>Chalk</string>
              <string>Chisel</string>
              <string>Diamonds</string>
              <string>Fat</string>
              <string>Fuzzy Overstroke</string>
              <string>Outset</string>
              <string>Overstroke</string>
              <string>Repeating Squiggle</string>
              <string>Rounded</string>
              <string>Swipe</string>
              <string>Wobbly Overstroke</string>
    </array>
    </plist>
    To reveal hidden frames, change iBooks Author.app/Contents/Resources/KFGraphicInspectorFrames.plist to
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <array>
              <string>Headlines</string>
              <string>Formal Shadow</string>
              <string>Scrapbook2b</string>
              <string>Vintage Inset</string>
              <string>Crayon Line</string>
              <string>Blackboard</string>
              <string>Pushpin</string>
              <string>Green Paper</string>
              <string>School Play</string>
              <string>Antique</string>
              <string>Formal Inset</string>
              <string>Baby</string>
              <string>brownbook</string>
              <string>Classic Silk</string>
              <string>Comic_blue</string>
              <string>Comic_shadow</string>
              <string>comic_v1</string>
              <string>Creme_Main</string>
              <string>Creme_Sidebar</string>
              <string>Creme_Small</string>
              <string>dots</string>
              <string>Fine_Artist</string>
              <string>Freestyle</string>
              <string>Graph Paper</string>
              <string>green_linen</string>
              <string>hardcover-burgundy</string>
              <string>Hardcover</string>
              <string>hardcover-1</string>
              <string>Highlighter</string>
              <string>Jet Set</string>
              <string>kids-blue</string>
              <string>kids-pink</string>
              <string>kids_v1</string>
              <string>Leather Book</string>
              <string>leatherbook</string>
              <string>Letterpress</string>
              <string>Linen Book</string>
              <string>Modern</string>
              <string>Moroccan</string>
              <string>Nature</string>
              <string>Nature2</string>
              <string>NewTravel</string>
              <string>Nightlife</string>
              <string>None</string>
              <string>notebook_iweb</string>
              <string>Notebook</string>
              <string>oldwhite</string>
              <string>orangebook</string>
              <string>orangewood</string>
              <string>organic_v2</string>
              <string>Parchment</string>
              <string>photostack_v1</string>
              <string>Pinstripe</string>
              <string>Playtime_Blue</string>
              <string>Playtime_Green</string>
              <string>Playtime_waves</string>
              <string>Playtime</string>
              <string>Portfolio Inset</string>
              <string>Portfolio</string>
              <string>PrintedPaper</string>
              <string>RoadTrip_receipt</string>
              <string>Roadtrip</string>
              <string>rosewood</string>
              <string>Scrapbook2a</string>
              <string>Screenprint-Brush</string>
              <string>Showcase</string>
              <string>Silkscreen</string>
              <string>Spiral</string>
              <string>spiralbook-creme</string>
              <string>spiralbook</string>
              <string>Storyboard</string>
              <string>Tech Black</string>
              <string>Typeset</string>
              <string>Venetian</string>
              <string>Venetian2</string>
              <string>Vintage</string>
              <string>Watercolor_iweb</string>
              <string>Watercolor</string>
              <string>Watermark</string>
              <string>White Corners</string>
              <string>woodbook_v1</string>
    </array>
    </plist>

    OK-here oare my modified plists. They work for me to allow the use of the new frames I hope you find them useful
    1) Right click on the ibook author icon under applications and show package contents
    2) Navigate to Contents:Resources and make a copy of KFGraphicInspectorFrames.plist ; SLGraphicInspectorFrames.plist and KFGraphicInspectorSmartStrokes.plist.
    3) Copy the plists below into your Resources folder.
    4) Close and open author- Your new frames and strokes should be available under inspector.
    http://www.box.com/s/fr6erqe4yt05fyojyzi2
    http://www.box.com/s/eh0bk13h33uidfayhunx
    http://www.box.com/s/qx2bjeytgr9a260rprp6
    *I do not warranty the work so always make a backup.

  • Problem in Frame and JSP

    hi all,
    i built an web application and now i want to add a menu using frame in HTML or javascript. The problem is all my JSP pages are data dependant from one another that means sometimes i am sending the data using input boxes and sometimes using HIDDEN values in HTML. Now i tried this followig way to use frame and to send my data to other pages but it is not working can anyone please help me.
    "DOES ANYONE KNOW WHETHER I CAN USE FRAME IN THE JSP PAGE OR NOT"
    LOGIN.HTML
    <form action="startframe.html" method="post">
    <center><h2>Employee Number:</h2></center>
    <center><input type="text" name="emplno" maxlength="4"size="4"></center></br>
    <center><h2>Password:</h2></center>
    <center><input type="password" name="pass" maxlength="6" size="6"></center></br>
    <center><input type="submit" value="SUBMIT YOUR INFO"></center>
    </form>
    </body>
    </html> DATA are GOING FROM LOGIN.HTML TO VARIFYLOGIN.JSP
    Now in between these two i used an HTML file to place a frame so that i can use the frame and the code is:
    <HTML>
    <HEAD>
    <TITLE> </TITLE>
    <frameset cols="15%,85%">>
    <frame name="frame1" src="buttons.html">
    <frame name="frame2" src="varifylogin.jsp?emplno=<%=emplno%> &pass=<%=pass%>" >
    </frameset>
    </HEAD>
    <BODY>
    </BODY>
    </HTML> "DOES ANYONE KNOW WHETHER I CAN USE FRAME IN THE JSP PAGE OR NOT"
    and then it should go to VARIFYLOGIN.JSP which is:
    String empl_no = request.getParameter("emplno");
       String password=request.getParameter("pass");
       Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
       Connection con = DriverManager.getConnection("jdbc:odbc:finalmp" );
       Statement stmt = con.createStatement();
       ResultSet rs = stmt.executeQuery("SELECT StaffID,FirstName,LastName,Password FROM StaffDetails");...................................................etc.
    i am getting this error on the RIGHT hand side frame meaning it showing the buttons on the left but this error on the right:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:367)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    root cause
    java.lang.NullPointerException
         org.apache.jsp.varifylogin_jsp._jspService(varifylogin_jsp.java:83)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856Can anyone please help me.
    Cheers

    i am working in jubuilder
    and have made there three forms,and
    calling s-aots and st_aots in fs_aots
    but when i compile
    it takes fiel,d text on seprate page display result on other window
    why it dosent use frame here
    2nd thing
    i want to enable scrolling
    how i can do
    or how can i display required no of records in second row
    if i mention page size in any check box
    <html>
    <head>
    <title>
    fs_aots
    </title>
    </head>
    <jsp:useBean id="fs_aotsBeanId" scope="session" class="s_aots.fs_aotsBean" />
    <jsp:setProperty name="fs_aotsBeanId" property="*" />
    <body>
    <FRAMESET Rows="30%" Framespacing="0">
    <Frame Name ="Header" SRC="s_aots.jsp" Frameborder="0" Scrolling="no">
    <FRAMESET Rows="70%" Framespacing="0">
    <Frame Name="data" SRC="st_aots.jsp" Frameborder="0" Scrolling="yes">
    </frameset>
    </frameset>
    </BODY>
    </html>
    <html>
    <head>
    <title>
    s_aots
    </title>
    </head>
    <jsp:useBean id="s_aotsBeanId" scope="session" class="s_aots.s_aotsBean" />
    <jsp:setProperty name="s_aotsBeanId" property="*" />
    <body>
    <p>update database content
    <form action="st_aots.jsp" method="post">
    Region<input type=text name=Regionparam><br>
    Bill Month From :<input type=text name=BmonthFparam><br>
    Bill Month To:<input type=text name=BmonthTparam><br>
    Connection Type:<input type=text name=Conntypeparam><br>
    Exchanges:<input type=text name=Exchparam><br>
    Phone No:<input type=text name=PhoneNoparam><br>
    <input type=Submit value="Retrive from DB">
    </form>
    </BODY>
    </HTML>
    <html>
    <head>
    <title>
    st_aots
    </title>
    </head>
    <jsp:useBean id="st_aotsBeanId" scope="session" class="s_aots.st_aotsBean" />
    <jsp:setProperty name="st_aotsBeanId" property="*" />
    <%@ page language="java" import="java.util.*"%>
    <table border=1 cellpadding=0 cellspacing=0 >
    <tr><td> Phone No: </td>
    <td> Current Bill: </td>
    <td> Net Payable: </td>
    <td>Net Arrers:</td>
    <td>customer Name:</td>
    <td>Customer Address:</td>
    <td>Connection Type:</td>
    </tr>
    <%
      Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
      java.sql.Connection connection = java.sql.DriverManager.getConnection("jdbc:odbc:AOTS4");
      java.sql.Statement statement = connection.createStatement();
      Enumeration parameters = request.getParameterNames();
        if(parameters.hasMoreElements()){
        String REGION = request.getParameter("Regionparam");
        String BILL_MONTH_FROM = request.getParameter("BmonthFparam");
        String BILL_MONTH_TO = request.getParameter("BmonthTparam");
        String CONN_TYPE = request.getParameter("Conntypeparam");
        String EXCHANGES = request.getParameter("Exchparam");
        String PHONE = request.getParameter("PhoneNoparam");
       //String q;
       // statement.executeUpdate("INSERT INTO updatephonebook (LAST,FIRST,PHONE) VALUES ('"+LastValue+"','"+FirstValue+"','"+PhoneValue+"')");
    // q= " SELECT PHONE_NO,GROSS_CURRENT_BILL,AMOUNT_PAYABLE,NET_ARRERS_AMOUNT,NAME,ADDRESS_1,ADDRESS_2,ADDRESS_3,ADDRESS_4,CONNECTION_TYPE FROM AOTS WHERE REGION_CODE='" +REGION+ "' AND BILL_PERIOD BETWEEN '" + BILL_MONTH_FROM + "' AND '"+BILL_MONTH_TO+"' AND CONNECTION_TYPE='"+CONN_TYPE+"' AND EXCHANGE_CODE='"+EXCHANGES+"' AND PHONE_NO='"+PHONE+"'";
       // System.out.println(q);
         java.sql.ResultSet columns = statement.executeQuery
        (" SELECT PHONE_NO,GROSS_CURRENT_BILL,AMOUNT_PAYABLE,NET_ARRERS_AMOUNT,NAME,ADDRESS_1,ADDRESS_2,ADDRESS_3,ADDRESS_4,CONNECTION_TYPE FROM AOTS4 WHERE REGION_CODE='" +REGION+ "' AND (BILL_PERIOD BETWEEN '"+BILL_MONTH_FROM+"' AND '"+BILL_MONTH_TO+"') AND CONNECTION_TYPE='"+CONN_TYPE+"' AND EXCHANGE_CODE='"+EXCHANGES+"' AND PHONE_NO='"+PHONE+"' ")  ;
        //(" SELECT PHONE_NO,GROSS_CURRENT_BILL,AMOUNT_PAYABLE,NET_ARRERS_AMOUNT,NAME,ADDRESS_1,ADDRESS_2,ADDRESS_3,ADDRESS_4,CONNECTION_TYPE FROM AOTS4 WHERE REGION_CODE='" +REGION+ "' AND CONNECTION_TYPE='"+CONN_TYPE+"' AND EXCHANGE_CODE='"+EXCHANGES+"' AND PHONE_NO='"+PHONE+"' ")  ;
         // java.sql.ResultSet columns = statement.executeQuery(q);
       // String sql =  ("SELECT BILL_PERIOD,REGION_CODE,EXCHANGE_CODE,PHONE_NO,GROSS_CURRENT_BILL,AMOUNT_PAYABLE,NET_ARRERS_AMOUNT,NAME,ADDRESS_1,ADDRESS_2,ADDRESS_3,ADDRESS_4,CONNECTION_TYPE FROM AOTS WHERE REGION_CODE ='"+REGION+"' AND (BILL_PERIOD BETWEEN '"+BILL_MONTH_FROM+"' AND '"+BILL_MONTH_TO+"') AND CONNECTION_TYPE='"+CONN_TYPE+"' AND EXCHANGE_CODE = '"+EXCHANGES+"' AND PHONE_NO='"+PHONE+"') " );
         //System.out.println("THE SQL QUERY = " + sql);
          //java.sql.ResultSet columns = statement.executeQuery(sql);
                                while(columns.next()){
                                String Phone_No = columns.getString("PHONE_NO");
                                String G_C_Bill = columns.getString("GROSS_CURRENT_BILL");
                                String Amount_Payable= columns.getString("AMOUNT_PAYABLE");
                                String N_A_Amount= columns.getString("NET_ARRERS_AMOUNT");
                                String Name= columns.getString("NAME");
                                String Address1= columns.getString("ADDRESS_1");
                                String Address2= columns.getString("ADDRESS_2");
                                String Address3= columns.getString("ADDRESS_3");
                                String Address4= columns.getString("ADDRESS_4");
                                String C_Type= columns.getString("CONNECTION_TYPE");
    %>
                                <TR>
                                <TD> <%=Phone_No %></td>
                                <TD> <%=G_C_Bill %></td>
                                <TD> <%=Amount_Payable%></td>
                                <TD> <%=N_A_Amount %></td>
                                <TD> <%=Name %></td>
                                <TD> <%=Address1 %>,<%=Address2%>,<%=Address3%>,<%=Address4%></td>
                                <TD> <%=C_Type %></td>
                                </tr>
                                <%}
    }%>
                                </table>
                                </body>
                                </html>

  • Top and bottom margins to be inside the frame and form should less cluster

    Hi All,
    In my application we have created nearly 10 regions and for each region i have created sub regions with No templates. Here are the deatils below.
    I need to display two regions side by side with borders, so what i have done is
    1. Created a region as #Region Start with No template with Display point as "Page template body (1. items below region content) and Header and footer i have
    given as <table border="1"><tr><td>
    2. Followed by region as #What with Wizard region as "Page template body(1. items below region content) and nothing given under header and fotter.
    3. Followed by reagion as #Region Middle with No template with Display point as "Page template body (1. items below region content) and Header and footer i
    have as </td><td>
    4. Followed by region as #where with Wizard region as "Page template body(1. items below region content) and nothing given under header and fotter.
    5. Folowed by region as #Region End with No template with Display point as "Page template body (1. items below region content) and Header and footer i have
    given as </td></tr><tr><td>
    Simiallry followed by rest of regions by creating dummy regions and placing the <tr> and <td> in Header and Footer.
    Now users are asking me to have insde the frame and form shoul dbe less cluster.
    Can suggestiosn on this who we need to achieve.
    Thanks,
    Anoo..

    'File' > 'Page Setup' is used to alter the page margins when you need to print the email. It is not used to create a Template email nor to change the overall theme used in the Thunderbird user interface.
    To add a theme to the overall Thunderbird window, you can choose
    * either a Windows theme via Control Panel > Personalization >Theme
    * or download a theme Add-on, there is a huge range here: https://addons.mozilla.org/en-US/thunderbird/themes/
    such as : https://addons.mozilla.org/en-US/thunderbird/addon/balloons/?src=ss
    If you are looking to create a Template email, then you open a new Write message, design the email, enter a Subject so that you can easily locate the email and click on 'File > Save as > Template or click on Save button and choose 'Template' from the options. then the email is saved in the Templates folder. To use, you click on Templates folder and double click on the email to open in a new Write message. then compose and send as normal. The original email will be saved in Templates folder for reuse.

  • Poster Frame and Trim Mode not working properly with post-synced clips

    Hi Everyone-
    Final Cut Pro seems to be doing something really odd and I'm wondering if anyone else has experienced it and if so what is the fix:
    We are shooting a movie on Red with sound coming in on multitrack wav files. We downconvert the R3D files to Prores and then manually sync the tracks in the timeline.
    We link the pix and sound and drag them to the bin to make our dailies. They all play, in sync. When we try to set a poster frame the issues begin. If I load the clip into the browser park the playhead on a frame and choose poster frame, the actual frame in the bin is very noticably offset (often by a few seconds).
    Also, when I use the trim mode, the frames jump to a different part of the shot during trim. It's like the shot is jumping ahead or back while I hit the frame advance or recede buttons. Once I let go of the button the image jumps to the correct number of frames. But, it's very distracting if I am trying to trim, for example, to just before an actor blinks. I can't trim 1 frame at a time. I have to keep hitting the button, watching the picture jump to a different part of the shot, release the trim button and watch the picture jump back to the now correctly trimmed frame...
    As a test I took some of the Prores clips with scratch track sound and brought them into the bin directly from the finder, bypassing the syncing. Using those clips, the trim and poster frames work as expected. Obviously something is going on during syncing.
    I assumed maybe because the audio and pix we different lengths the clip was getting "confused", and didn't know where to "start". So, in the timeline with the synced clips, I razor bladed a few shots, linked them, and dragged them to the bin so the audio and video were the exact same length... Same issue.
    I have noticed the same behavior on 2 separate Macs so I don't think its a preference or corrupted install issue.
    Anyone seen this and have any suggestions?
    Thanks,
    David

    Yes, David, I'm having the same problem under the same circumstances. we're using merged clips made from Prores QTs and multitrk BWF files. In the trim window, the display frame jumps ahead considerably in a frame-by-frame trim, but trims accurately in the timeline. My only work-around has been to use the left/right scrub arrows in the trim window when necessary, which displays the correct frame. Sorry not to have an answer, but I saw a post on another forum from 2007 that speculated it was an FCP 6 bug. Resetting prefs doesn't help.
    Tim

  • Is it possible to run a website built in Java and applet from Safari browser in iPad

    Is it possible to run a website built in Java and applet from Safari browser in iPad?

    Java isn't supported on the iPad

Maybe you are looking for