Builtin package VS own package

I have created one own AWT package.In my own AWT package cotains methods are same as in built-in AWT package. I am importing built-in awt package also. I am accessing one method .. which package will execute ??? will it execute my own package or buitl-in package??
Pl. answer the above question.
Regards & thanks,
srinivas

I assume you are talking about classes rather than methods. There's no problem with methods with the same name etc. if they are in different classes.
It's not a good idea to have more than one version of the same class (including package name) available but, if you do, which one you get depends on the order of items in your classpath.
You should not be creating your own classes with package names starting with java anyway. If you want to create your own awt use your own package name, then there's no ambiguity.

Similar Messages

  • What is abbrevation of SRW packages

    hi
    one interviewer asked me builtin packages in reports.
    i answered its SRW.Pacakeges. He asked abbrevation of SRW , i simply frustated. What is SRW's full name
    thanks in advance
    prasanth as.

    SRW stands for SQL*ReportWriter.
    SRW drivers are driver files, which are used to define output files of SRW reports into a certain format during the generation of reports.

  • Save data to excel using froms_ole builtin

    Hi All,
    can somebody send me an example how to save any data to excel workbook
    using FORMS_OLE builtin package (or OLE2 in later versions) ?
    I'm working with forms 4.5
    Thanks
    Brano

    For merging of cells you can refer following code!
    [Merging of cells.|https://www.sdn.sap.com/irj/scn/wiki?path=/display/community/oleconceptfordownloadingthereportoutputintoexcel]
    Regards,
    Lalit Mohan Gupta.

  • Executing a shell script from pl/sql stored procedure

    Hi,
    I have Oracle 8i on HP-UX.
    I am passing a shell script name as a parameter to a user defined function from a pl/sql stored procedure. This user defined function has insterface to a user defined Java class file in Aurora java virtual machine which is written using runtime class which can execute any OS command or any shell script. I am getting any OS command run successfully, but could not run my own shell script. It's is not getting environment variables of my own, so not getting executed. So please suggest how can get these env variables in my shell script and also suggest other sucurity concerns to be taken into consideration.
    If you have any questions please let me know.
    This is really a very urgent issue.....
    Please help me.
    Thanks
    Srinivasa Rao Kolla

    Your best bet is to use the dbms_pipe builtin package to send the command to the host

  • Having trouble installing Elm with cabal

    Here's the result:
    $ cabal install elm
    Resolving dependencies...
    In order, the following will be installed:
    regex-base-0.93.2 (reinstall) changes: containers-0.5.1.0 -> 0.4.1.0
    regex-pcre-builtin-0.94.2.1.7.7 (new package)
    highlighting-kate-0.5.3.3 (new package)
    pandoc-1.9.4.5 +blaze_html_0_5 (new package)
    Elm-0.5.0 (new package)
    Warning: Note that reinstalls are always dangerous. Continuing anyway...
    Configuring regex-base-0.93.2...
    Building regex-base-0.93.2...
    Preprocessing library regex-base-0.93.2...
    [1 of 4] Compiling Text.Regex.Base.RegexLike ( Text/Regex/Base/RegexLike.hs, dist/build/Text/Regex/Base/RegexLike.o )
    [2 of 4] Compiling Text.Regex.Base.Context ( Text/Regex/Base/Context.hs, dist/build/Text/Regex/Base/Context.o )
    [3 of 4] Compiling Text.Regex.Base ( Text/Regex/Base.hs, dist/build/Text/Regex/Base.o )
    [4 of 4] Compiling Text.Regex.Base.Impl ( Text/Regex/Base/Impl.hs, dist/build/Text/Regex/Base/Impl.o )
    Registering regex-base-0.93.2...
    Installing library in /home/barry/.cabal/lib/regex-base-0.93.2/ghc-7.6.1
    Registering regex-base-0.93.2...
    Configuring regex-pcre-builtin-0.94.2.1.7.7...
    Building regex-pcre-builtin-0.94.2.1.7.7...
    Preprocessing library regex-pcre-builtin-0.94.2.1.7.7...
    on the commandline: Warning:
    -XPatternSignatures is deprecated: use -XScopedTypeVariables or pragma {-# LANGUAGE ScopedTypeVariables #-} instead
    [1 of 6] Compiling Text.Regex.PCRE.Wrap ( dist/build/Text/Regex/PCRE/Wrap.hs, dist/build/Text/Regex/PCRE/Wrap.o )
    Text/Regex/PCRE/Wrap.hsc:348:1:
    Unacceptable argument type in foreign declaration: CInt
    When checking declaration:
    foreign import ccall unsafe "static pcre.h pcre_compile" c_pcre_compile
    :: CString
    -> CompOption
    -> Ptr CString -> Ptr CInt -> CString -> IO (Ptr PCRE)
    Text/Regex/PCRE/Wrap.hsc:352:1:
    Unacceptable argument type in foreign declaration: CInt
    When checking declaration:
    foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec
    :: Ptr PCRE
    -> Ptr PCRE_Extra
    -> CString
    -> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode
    Text/Regex/PCRE/Wrap.hsc:352:1:
    Unacceptable argument type in foreign declaration: CInt
    When checking declaration:
    foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec
    :: Ptr PCRE
    -> Ptr PCRE_Extra
    -> CString
    -> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode
    Text/Regex/PCRE/Wrap.hsc:352:1:
    Unacceptable argument type in foreign declaration: CInt
    When checking declaration:
    foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec
    :: Ptr PCRE
    -> Ptr PCRE_Extra
    -> CString
    -> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode
    Text/Regex/PCRE/Wrap.hsc:352:1:
    Unacceptable argument type in foreign declaration: CInt
    When checking declaration:
    foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec
    :: Ptr PCRE
    -> Ptr PCRE_Extra
    -> CString
    -> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode
    Text/Regex/PCRE/Wrap.hsc:352:1:
    Unacceptable result type in foreign declaration: IO CInt
    When checking declaration:
    foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec
    :: Ptr PCRE
    -> Ptr PCRE_Extra
    -> CString
    -> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode
    Text/Regex/PCRE/Wrap.hsc:354:1:
    Unacceptable argument type in foreign declaration: CInt
    When checking declaration:
    foreign import ccall unsafe "static pcre.h pcre_fullinfo" c_pcre_fullinfo
    :: Ptr PCRE -> Ptr PCRE_Extra -> InfoWhat -> Ptr a -> IO CInt
    Text/Regex/PCRE/Wrap.hsc:354:1:
    Unacceptable result type in foreign declaration: IO CInt
    When checking declaration:
    foreign import ccall unsafe "static pcre.h pcre_fullinfo" c_pcre_fullinfo
    :: Ptr PCRE -> Ptr PCRE_Extra -> InfoWhat -> Ptr a -> IO CInt
    Text/Regex/PCRE/Wrap.hsc:358:1:
    Unacceptable argument type in foreign declaration: CInt
    When checking declaration:
    foreign import ccall unsafe "static pcre.h pcre_config" c_pcre_config
    :: ConfigWhat -> Ptr a -> IO CInt
    Text/Regex/PCRE/Wrap.hsc:358:1:
    Unacceptable result type in foreign declaration: IO CInt
    When checking declaration:
    foreign import ccall unsafe "static pcre.h pcre_config" c_pcre_config
    :: ConfigWhat -> Ptr a -> IO CInt
    cabal: Error: some packages failed to install:
    Elm-0.5.0 depends on regex-pcre-builtin-0.94.2.1.7.7 which failed to install.
    highlighting-kate-0.5.3.3 depends on regex-pcre-builtin-0.94.2.1.7.7 which
    failed to install.
    pandoc-1.9.4.5 depends on regex-pcre-builtin-0.94.2.1.7.7 which failed to
    install.
    regex-pcre-builtin-0.94.2.1.7.7 failed during the building phase. The
    exception was:
    ExitFailure 1
    Interestingly, when I try to install regex-pcre-builtin on its own, it first reinstalls regex-base-0.93.2, then fails. When I try to install elm after this, it also installs regex-base-0.93.2 before failing as shown above. Perhaps it isn't getting registered properly?
    Google is alluding to an issue with the recent build of cabal-install or ghc. I downgraded cabal-install to 0.14 from 0.16, which did nothing. I'm very concerned about downgrading ghc, because pacman 1) warns of many broken packages if I do that, and 2) I use XMonad and don't want to break my system. I'm at a loss of how to continue. Can anyone offer insight?
    Edit: GHC 7.6.1
    Last edited by MeisBarry (2012-10-28 20:47:33)

    ghc-pkg told me that regex-posix was a broken package. I unregistered it and reinstalled it with cabal. Then tried to install elm again:
    $ cabal install elm
    Resolving dependencies...
    In order, the following would be installed:
    regex-base-0.93.2 (reinstall) changes: containers-0.5.1.0 -> 0.4.1.0
    regex-pcre-builtin-0.94.2.1.7.7 (new package)
    highlighting-kate-0.5.3.3 (new package)
    pandoc-1.9.4.5 +blaze_html_0_5 (new package)
    Elm-0.5.0 (new package)
    cabal: The following packages are likely to be broken by the reinstalls:
    regex-posix-0.95.2
    Use --force-reinstalls if you want to install anyway.
    So the install is breaking regex-posix by downgrading containers, it looks like.

  • Query Regarding UTL_FILE.fopen() -

    Guys hope you all doin well-
    I am using Oracle 9i release 2 -
    I am having problem while i am trying to open a file using the UTL_FILE builtin package -
    I created the directory as well where the file is located, that i want to access
    While i am executing the utl_file.fopen function returns record
    location in varchar2 ,
    filename in varchar2 ,
    open_mode in varchar2 ,
    max_linesize in binary_integer default
    returns the following error ORA-29283: invalid file operation
    The description of the error i found is:
    ORA-29283: invalid file operation
    Cause: An attempt was made to read from a file or directory that does not exist, or file or directory access was denied by the operating system.
    Action: Verify file and directory access privileges on the file system, and if reading, verify that the file exists
    The file exists and the user has the privileges to access the file too - but still having problems
    please help -
    if any buddy has the idea please share -
    Thanks
    Y.V.

    Hello Y.V.
    Have you set the parameter utl_file_dir? Please check. In most of the cases the problem is because of this parameter
    You can set it to directory that you want to access. Or else you can set it to * (which means) that UTL_FILE would be able to read from any directory on which Oracle Binary Owner has got access. Please be careful when setting this to *
    To check the parameter use query:
    select name,value from v$parameter
    where name ='utl_file_dir';
    Regards
    Sudhanshu
    OCP DBA

  • Can anyone help?....Urgent plz

    Hi,
    I want to export the tables into XML format and this xml output should be saved in a file.
    The below code converts the table into xml format. but i dont know how to store it in a file....Can anyone help me.....
    set serverout on size 1000000;
    declare
    V_i number:=1;
    V_name varchar2(4000);
    Begin
    select dbms_xmlquery.getxml('select * from emp') into V_name from dual;
    While (V_i <=length(V_name))
    Loop
    dbms_output.put_line (substr(V_name,V_i,255));
    V_i:=V_i+255;
    End Loop;
    End;

    UTL_FILE builtin package let you read,write the external file which should reside at server side,check out UTL_FILE package which will serve yours problem.
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_file.htmKhurram

  • How to Generate Report Output to Flat File

    Hi All,
    how to generate a report's output to a flat file(fixed length file).
    Thanks and appreciated.

    Hi
    In the object navigator u have a node called builtin packages. in that you can see text_io package.and in help you can have a detailed exaplination abt that. if your version is 9i then search in web for webutil program which also does the same work.
    Thank you
    Sasi

  • Convert Oracle Application Reports to Oracle Reports

    Hi All,
    Our company has an old Oracle Financial Application with number of Reports. The Application Version is 10.7.0 SC161 and the database version is Oracle7 Server Release 7.3.4.3.0 - Production. It was installed in 1998 and was used till 2005. Now we have moved to different Financial App. The data on the application is not being updated anymore. Only the reports are being run on the old historical data. All the reports are canned reports that came with the application, for example Trial Balance, GL Transactions, etc. The rdf files are for example GLRTBD.rdf, GLACTANP.rdf, etc. My challenge is to convert these old application tied reports to new oracle reports and publish them to a new application server for use. I have moved the data by full export / import to a new 9i database. I have downloaded and installed the Reports developer in my workstation and got all the .rdf files from the old server to my workstation. When I try to open some of these rdf files I get compilation errors because of old pll librarys. I recompile them with out error when I am connected to the new database. The biggest problem is there are no direct sql statements in the reports. All of them use flex fields and they are populated by application packages. For example, the GLRTBD report has the following query:
    SELECT
    &PAGEBREAK_SEGMENT PAGEBREAK_SEGMENT_H,
    &ACCOUNTING_SEGMENT ACCOUNTING_SEGMENT_H,
    &FLEXDATA FLEXDATA_H,
    &BEG_BAL BEG_BAL_H,
    &ACTIVITY ACTIVITY_H,
    &END_BAL END_BAL_H
    FROM
    GL_BALANCES GLB,
    GL_CODE_COMBINATIONS GLCC
    WHERE
    GLB.ACTUAL_FLAG = 'A'
    AND GLB.SET_OF_BOOKS_ID = &P_SET_OF_BOOKS_ID
    AND GLB.CURRENCY_CODE = :P_CURRENCY_CODE
    AND &CURRENCY_WHERE
    AND &PERIOD_WHERE
    AND GLB.CODE_COMBINATION_ID = GLCC.CODE_COMBINATION_ID
    AND GLCC.CHART_OF_ACCOUNTS_ID = :STRUCT_NUM
    AND GLCC.TEMPLATE_ID IS NULL
    AND &PAGEBREAK_WHERE
    &GROUPORDER
    and the the beforereport trigger contains:
    SRW.USER_EXIT('FND FLEXSQL
    CODE="GL#"
    APPL_SHORT_NAME="SQLGL"
    OUTPUT=":PAGEBREAK_WHERE"
    MODE="WHERE"
    DISPLAY=":P_PAGEBREAK_SEG_NUM"
    NUM=":STRUCT_NUM"
    TABLEALIAS="''''||GLCC"
    OPERATOR="BETWEEN"
    OPERAND1=":P_LOW_PB_SEG"
    OPERAND2=":P_HIGH_PB_SEG"');
    This is just one example. All the reports are like this. My question is what is the best way to convert these application reports to normal oracle reports and publish them to a new app server. All the reports need concurrent manager in the old server running to process the reports. How can I run them in a new application server without concurrent manager? We use about 20 reports from the old server. I would like to move these 20 reports to the new server and get rid of the overhead of running a whole application. I am looking for a way to convert these reports without recreating them. I would really appreciate your advise/direction in this situation. Thanks in advance.

    Thanks for your suggestion Rajesh. That is what I would like to do. But how do I recreate the reports in the new APEX server? All the flexfields are populated by the Oracle Application packages like:
    SRW.USER_EXIT('FND FLEXSQL
    CODE="GL#"
    APPL_SHORT_NAME="SQLGL"
    OUTPUT=":PAGEBREAK_WHERE"
    MODE="WHERE"
    DISPLAY=":P_PAGEBREAK_SEG_NUM"
    NUM=":STRUCT_NUM"
    TABLEALIAS="''''||GLCC"
    OPERATOR="BETWEEN"
    OPERAND1=":P_LOW_PB_SEG"
    OPERAND2=":P_HIGH_PB_SEG"');
    This is a builtin package for Oracle Application. What is the process getting these SRW packages in to the new server without actually installing the Oracle Applications. I have installed an apex server in a new linux server. How can I recreate these SRW packages in my new apex server? Thank you.

  • Tree Navigator Component

    Does anyone know where I can find some code samples that use a tree navigator component with JSF?
    I tried the MyPlaces panelNavigation/commandNavigation tags but could not make it work and couldn't find any good code samples to show me how it is supposed to look.
    I also tried the OurPlaces tree/treenode tags and only got it to partially work. Again, I couldn't find sample code that worked for me.
    I am using Java Studio Creator so maybe that is part of the problem.

    The FTREE builtin package is poorly covered in the Forms 6i online help, and well hidden. You have to search for FTREE, you won't find it otherwise. It does not appear in the help menus. When you do find some mention of it, you have to wander around the related subjects to find the rest of the help that even the Search cannot find.
    The Navigator is now a native object type, replacing the old add-on.
    It still has its faults and idiosynchrises, but it can be made to work well. To use it with 6i web forms, you need a recent patch set. 6i client/server and 9i are fine.

  • Uzbl. A browser that adheres to the unix philosophy.

    UPDATE:
    This thread is out of date (well, at least the beginning) and no longer the most optimal means to reach the community.
    If you have useful things to contribute, our irc/mailing list/wiki is probably a better choice.
    See: http://www.uzbl.org/
    Inspired by http://bbs.archlinux.org/viewtopic.php?id=67463
    ideas on how i sort of want it:
    - Uzbl.
      In my opinion, any program can only be really useful if it complies to the unix philosophy.
      Web browsers are frequent violators of this principle.  Time to change that!
    Right now uzbl is in a very early state but here are some ideas I would like to (not) implement
    - each instance of uzbl renders 1 page (eg it's a small wrapper around webkit), no tabbing, tab previews, or speed dial
    things. we have window managers for that.
    - simple ini config file ("profile") for keyboard, network,.. settings
    - implement some basic keyboard shortcuts for going up, down, refresh etc
    - listen to signals and do useful stuff when triggered.
    -  open up a socket file/fifo/.. so we can easily control each instance by writing things like 'uri <foo>' to
    /tmp/uzbl-pid
    - MAYBE (if needed): 1 control application called uzblctrl or something. use this to modify the behavior of a uzbl
    instance (change url, refresh).  use xdotool to get the window with focus.  eg uzblctrl -win <id> -url <http://>.
      use xbindkeys to bind keys to call uzblctrl.
    - no bookmark management builtin.  make your own solution.  for pulling a bookmark a plaintxt-based program using dmenu
    would work great here. combine with uzbltcrl and xbindkeys.
      uzblctrl should support an option to query the current page so you can script something to add to your bookmarks.  use
      zenity or something to add tags.
    - similar story for history.
    - no ad blocking built in. use the power of /etc/hosts.  though uzblctrl should support an option to list all images on
    a page, so you can easily pick the links to ads to add them to your /etc/hosts. (dmenu can again be great here to
    automate this)
    - no download manager. allow user to pick wget/curl/a custom script/...
    - no build in command interpreters like ubiquity.  uzbl should be accessible and you should use a shell or similar.
    to figure out:
    - password management. maybe an encrypted store that unlocks with an ssh key?
    - how to handle hyperlinks? number them like konqueror does?
    NOTE:
    - My c skills are very rusty, it will take me a while to get back up to speed
    current state? very close to zero.
    you can all uzbl --uri http://<someurl> and it will open a window with the rendered page. That's it.
    howto @ http://github.com/Dieterbe/uzbl/blob/e3 … 580e/HOWTO
    Last edited by Dieter@be (2009-06-19 07:17:30)

    I started working on the tab feature. I am at work so can't really get much done now, but this would qualify as a start.
    Things are shamefully hardcoded but this is the jist of it. Obviouslly create_browser() and create_statusbar() need to be rewritten to create individual widgets (webkit widgets too), otherwise tabs will be useless. Yay finally a project to work on
    // Original code taken from the example webkit-gtk+ application. see notice below.
    * Copyright (C) 2006, 2007 Apple Inc.
    * Copyright (C) 2007 Alp Toker <[email protected]>
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    * 1. Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    * 2. Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
    * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
    * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
    * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
    * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    #include <gtk/gtk.h>
    #include <gtk/gtknotebook.h>
    #include <webkit/webkit.h>
    static GtkWidget* main_window;
    static GtkWidget* uri_entry;
    static GtkStatusbar* main_statusbar;
    static WebKitWebView* web_view;
    static gchar* main_title;
    static gint load_progress;
    static guint status_context_id;
    static GtkWidget* tabs;
    static gchar* uri = NULL;
    static gboolean verbose = FALSE;
    static GOptionEntry entries[] =
    { "uri", 'u', 0, G_OPTION_ARG_STRING, &uri, "Uri to load", NULL },
    { "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, "Be verbose", NULL },
    { NULL }
    static void
    activate_uri_entry_cb (GtkWidget* entry, gpointer data)
    const gchar* uri = gtk_entry_get_text (GTK_ENTRY (entry));
    g_assert (uri);
    webkit_web_view_load_uri (web_view, uri);
    static void update_title (GtkWindow* window)
    GString* string = g_string_new (main_title);
    g_string_append (string, " - Uzbl browser");
    if (load_progress < 100)
    g_string_append_printf (string, " (%d%%)", load_progress);
    gchar* title = g_string_free (string, FALSE);
    gtk_window_set_title (window, title);
    g_free (title);
    static void
    link_hover_cb (WebKitWebView* page, const gchar* title, const gchar* link, gpointer data)
    /* underflow is allowed */
    gtk_statusbar_pop (main_statusbar, status_context_id);
    if (link)
    gtk_statusbar_push (main_statusbar, status_context_id, link);
    static void
    title_change_cb (WebKitWebView* web_view, WebKitWebFrame* web_frame, const gchar* title, gpointer data)
    if (main_title)
    g_free (main_title);
    main_title = g_strdup (title);
    update_title (GTK_WINDOW (main_window));
    static void
    progress_change_cb (WebKitWebView* page, gint progress, gpointer data)
    load_progress = progress;
    update_title (GTK_WINDOW (main_window));
    static void
    load_commit_cb (WebKitWebView* page, WebKitWebFrame* frame, gpointer data)
    const gchar* uri = webkit_web_frame_get_uri(frame);
    if (uri)
    gtk_entry_set_text (GTK_ENTRY (uri_entry), uri);
    static void
    destroy_cb (GtkWidget* widget, gpointer data)
    gtk_main_quit ();
    static void
    go_back_cb (GtkWidget* widget, gpointer data)
    webkit_web_view_go_back (web_view);
    static void
    go_forward_cb (GtkWidget* widget, gpointer data)
    webkit_web_view_go_forward (web_view);
    static GtkWidget*
    create_browser ()
    GtkWidget* scrolled_window = gtk_scrolled_window_new (NULL, NULL);
    gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
    web_view = WEBKIT_WEB_VIEW (webkit_web_view_new ());
    gtk_container_add (GTK_CONTAINER (scrolled_window), GTK_WIDGET (web_view));
    g_signal_connect (G_OBJECT (web_view), "title-changed", G_CALLBACK (title_change_cb), web_view);
    g_signal_connect (G_OBJECT (web_view), "load-progress-changed", G_CALLBACK (progress_change_cb), web_view);
    g_signal_connect (G_OBJECT (web_view), "load-committed", G_CALLBACK (load_commit_cb), web_view);
    g_signal_connect (G_OBJECT (web_view), "hovering-over-link", G_CALLBACK (link_hover_cb), web_view);
    return scrolled_window;
    static GtkWidget* create_statusbar ()
    main_statusbar = GTK_STATUSBAR (gtk_statusbar_new ());
    status_context_id = gtk_statusbar_get_context_id (main_statusbar, "Link Hover");
    return (GtkWidget*)main_statusbar;
    static GtkWidget* create_window ()
    GtkWidget* window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    gtk_window_set_default_size (GTK_WINDOW (window), 800, 600);
    gtk_widget_set_name (window, "Uzbl browser");
    g_signal_connect (G_OBJECT (window), "destroy", G_CALLBACK (destroy_cb), NULL);
    return window;
    int main (int argc, char* argv[])
    gtk_init (&argc, &argv);
    if (!g_thread_supported ())
    g_thread_init (NULL);
    tabs = gtk_notebook_new();
    GtkWidget* vbox = gtk_vbox_new (FALSE, 0);
    gtk_box_pack_start (GTK_BOX (vbox), create_browser(), TRUE, TRUE, 0);
    gtk_box_pack_start (GTK_BOX (vbox), create_statusbar(), FALSE, FALSE, 0);
    gtk_notebook_append_page (GTK_NOTEBOOK (tabs), vbox, gtk_label_new ("TAB 1"));
    GtkWidget* vbox2 = gtk_vbox_new (FALSE, 0);
    gtk_box_pack_start (GTK_BOX (vbox2), gtk_label_new("tab 2 content"), TRUE, TRUE, 0);
    gtk_notebook_append_page (GTK_NOTEBOOK (tabs), vbox2, gtk_label_new ("TAB 2"));
    main_window = create_window ();
    gtk_container_add (GTK_CONTAINER (main_window), tabs);
    GError *error = NULL;
    GOptionContext* context = g_option_context_new ("- some stuff here maybe someday");
    g_option_context_add_main_entries (context, entries, NULL);
    g_option_context_add_group (context, gtk_get_option_group (TRUE));
    g_option_context_parse (context, &argc, &argv, &error);
    webkit_web_view_load_uri (web_view, uri);
    gtk_widget_grab_focus (GTK_WIDGET (web_view));
    gtk_widget_show_all (main_window);
    gtk_main ();
    return 0;

  • How to transfer a smartform from $temp package to my own package say "zpack" in abap?

    hi, i am sanjeev.
    earlier i used to save all the objects in local package only. whether it's a program or any class or any user created table.
    but now i have created my own package and want to transfer all of those created objects into my package "zpack". even i transferred all the programs. but the smartforms i cant. so plz help me.
    THanks in advance.

    TC --> SE03
    Select --> Change Object Directory Entries --> Click F8 or Click run button .
    Check 'Check Box' and enter SSFO . Input field enter your Smart form name.
    Under that we have block " Further Restriction" enter existing Package name ex: $TMP is this is saved under temporary folder.
    and click on F8 or Run Button. Then we will get list of object's stored under this package .
    Select required object and click on "Object  Directory ", this will prompted pop asking to enter new package name.
    This will help you to change from one package to your owned package.
    Thanks,
    Venu M B

  • Rookie trying to make my own package

    Reading in a real good book - "Thinking in Java" by Bruce Eckel. Really helping me to understand better a lot of the stuff that I had in my Java course at school.
    Got to a section where he's showing how to make your own packages. I'll lift directly:
    Consider, for
    example, creating an alias for System.out.println(�) to reduce
    typing. This can be part of a package called tools:
    //P.java
    // The P.rint & P.rintln shorthand.
    package com.bruceeckel.tools;
    public class P {
    public static void rint(String s) {
    System.out.print(s);
    public static void rintln(String s) {
    System.out.println(s);
    You can use this shorthand to print a
    String either with a newline (P.rintln(�)) or without a
    newline (P.rint(�)).
    So, I cut and pasted right into the text editor I use to practice with, saved and compiled it in a subdirectory off of one of the directories in the CLASSPATH, followed with a little test program:
    //ToolTest.java
    import com.bruceeckel.tools.*;
    public class ToolTest {
    public static void main(String[] args) {
    P.rintln("Available from now on!");
    P.rintln("" + 100); // Force it to be a String
    P.rintln("" + 100L);
    P.rintln("" + 3.14159);
    Here's the result of the compile:
    C:\Thinking in Java\com\bruceeckel\tools>javac ToolTest.java
    ToolTest.java:3: Package com.bruceeckel.tools not found in import.
    import com.bruceeckel.tools.*;
    ^
    1 error
    C:\Thinking in Java\com\bruceeckel\tools>
    At first I tried doing it on my own, making up my own package name, creating my own little source files, but got the same error. So I cut and pasted directly from the book, thinking surely it would work if I used Eckel's own code. Nope.
    Any clue what's going wrong? I've checked the CLASSPATH carefully, it includes
    C:\Thinki~1
    Thanks
    Felecha

    Your classpath should include "C:\Thinking in Java", not C:\Thinki~1.
    Also, your ToolTest.java should be in some other folder than "C:\Thinking in Java\com\bruceeckel\tools" - javac may act weird when it can find the to-be-imported classes in both the current folder and the classpath.
    If ToolTest.java had been in the folder "C:\Thinking in Java" you wouldn't have needed to modify the classpath.

  • Can I use asynchronous update on a chart I generate from my own DB Package?

    I have created a database package that will generate a stacked bar graph in SVG with dynamically generated series based on a requirement I have been given.
    I would like to know if it is possible to take advantage of the asynchronous update mechanism available on Application Express for its own SVG charts?
    That is, as long as the package as a callable URL, can it be made to refresh as if it were a native SVG component of Application Express?

    Hello,
    Do not split your posts up across different threads askign for the same thing, it confuses the subject and makes it harder for people to help you.
    Asking a question should not be like a shotgun more like a sniper rifle, guess whos been playing first person shooters latley ;)
    Use this code in your plsql package to link in the correct javascripts.
    htp.prn('<script xlink:href="'||v('IMAGE_PREFIX')||'javascript/svg_js_includes/svg_common/oracle.svgInit.js"/>');
    htp.prn('<script xlink:href="'||v('IMAGE_PREFIX')||'javascript/svg_js_includes/svg_common/oracle.svgNodes.js"/>');
    htp.prn('<script type="text/ecmascript">');
    htp.prn('<![CDATA[');
    htp.prn('function htmldb_Load(evt){');
    htp.prn(' myTimer = setTimeout('svgSync();','5000');');
    htp.prn('}]]>');
    htp.prn('</script>');
    and add attribute to the top level &lt;svg> tag
    onload="htmldb_Load(evt)"
    that will reload yoru svg every 5 seconds
    Carl

  • How to handle outdated packages from repo by own hand ?

    Hi
    I would like to have packages that I use frequently to be fresh - for example - Krusader is 1.70.0 in arch but there is pretty stable beta - 1.80.0beta2 the same thing with gmpc/libmpd/qtcurve-kde3|gtk2 - these packages are outdated. My question is how to handle this in good way ? I mean make PKGBUILDs in /var/aur/local but what if package in repo will be updated ? I simply don't want to wait for these packages because I've chosed ARCH for no outdated packages but now I see there are some... Anyone have a good advice for me ? Now when I make my own PKGBUILDs of these packages with every pacman -Syu I get error: package-name is newer than package in [repo] bla bla bla

    try one of the aur build script proggies, they compare the aur to the current in the repositories I think? 
    Have you tried putting the packages like krusader on the ignorepkg list in pacman.conf?

Maybe you are looking for

  • ITunes has stopped working after fresh install

    Hey there, Hoping someone can help me out. I've had iTunes for a while but just had to get my computer repaired and after a fresh windows install I am not able to get iTunes to work. I've searched the help forums and tried many things already but had

  • Creating a magazine from Photoshop Images and transferring them to InDesign

    Hello, I'm in the process of creating a magazine. I have already started created the pages including their layout in Photoshop. I have CS4 and I want to transfer those images to InDesign and also incorporate Flash to produce a web-base magazine. How

  • Html:select tag

    Hi all, In my jsp page i am using struts html:select tag,some contents are not fitting in the alloted size so i want to give horizontal scrolling for this select box,pls any body can tell me which property of select tag can be used,or any html tricks

  • Out put to Blu-Ray?

    I am finally ready to out put my 80 min. documentary to DVD for selling at film festivals. Do I go with Blue_Ray? If I do with the cheeper DVD will it be in HD? Do people without a Blu-Ray player get the benefit of a Blu-Ray disc?

  • My iphone 4s screen went black, then siri stopped working, now the phone wont charge

    My iphone 4s screen went black, but Siri was still working and then a little bit later Siri stopped working. I then let the battery go dead and have plugged it into my laptop and it is not responding. I tried holding the lock button and home button f