Picture in gui

how can i insert a picture in a gui?
thx

read the picture into an Image using ImageIO.read
overwrite paintComponent of a JPanel to draw the image.
add this panel to your gui.
It's as simple as that!

Similar Messages

  • I'm debutante in oracle 10g how to create a database with picture?

    I'm debutante in oracle 10g how to create a database with picture? help please

    d7401ec1-d4d6-4e54-9eb4-2181ac367d0c wrote:
    I'm debutante in oracle 10g how to create a database with picture? help please
    Oracle 10g is obsolete.  Oracle 11g is already at terminal release.
    Have you installed the Oracle rdbms software?
    Installing Oracle and Building the Database
    If you are going to be a professional DBA, you need to learn to
    1) read the documentation
    2) wean yourself from dependence on pictures and GUIs.
    3) read the documentation
    =================================================
    Learning how to look things up in the documentation is time well spent investing in your career.  To that end, you should drop everything else you are doing and do the following:
    Go to  docs.oracle.com.
    Locate the link for your Oracle product and version, and click on it.
    You are now at the entire documentation set for your selected Oracle product and version.
    BOOKMARK THAT LOCATION
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab (for 10.x) or the "Master Book List" link (for 11.x) you will find the complete documentation library.
    Spend a few minutes just getting familiar with what kind of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth.  They are reference manuals.  Just get familiar with what is there to be referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - *Read a chapter a day from the Concepts Manual*.
    - Take a look in your alert log.  One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - *When you have finished reading the Concepts Manual, do it again*.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    =================================

  • Sugestion on Architecture supported by Oracle 8i using J Dev

    Required Application Scenario:
    The Application is supposed to be web enabled with following
    features :
    Application GUI contains some complex screens including Grid
    controls, Grid controls with combo box, Drop down combo with
    multicolumn list, splitted pane, tabbed pane and dynamic menu
    and toolbars. The data displayed in the GUI is supposed to be
    filled by the database. The database is on Oracle 8i. Proposed
    development tool is JDeveloper. The guideline for development is
    such that it requires thin clients and also reduced network
    traffic.
    Architecture support for JDeveloper
    Following are the supported architectures for development of web
    based applications. It includes the limitations related to the
    proposed architecture.
    1. InfoBus Data form
    -InfoBus Data form uses the oracle's InfoSwing controls.
    -InfoSwing control provides the data storage and retrieval
    functionality from the database.
    -InfoSwing controls are mainly used in java applications.
    -It does not suit the proposed architecture because applet will
    be very heavy.
    2. DBServlet
    -DBServlet provides the look and feel (theme) of the HTML forms
    generated by the database servlet.
    -It does not suit the proposed architecture because applet does
    not come into picture and GUI will not be similar to existing
    application.
    3. Applet - Servlet or JNDI -EJB / CORBA
    -JDeveloper does not support development of entity beans.
    -Applet and EJB Server communication needs JNDI support which is
    not integrated with JDeveloper.
    -EJB's main goal is to provide database independence,
    concurrency and transaction monitoring which is not required in
    the current application.
    Suggestions:
    =============
    Please suggest us the best architecture, which can be used for
    the corresponding application development and deployment to
    Oracle8i.
    Could you also provide some additional information on the
    following points
    1.We understand that EJB solution is very similar to the CORBA
    solution, but the only advantage we find that it would give an
    open architecture in the later. Are there any other overheads in
    either of these solutions ?
    2.JDeveloper 2.0 supports JDK 1.1.7 and JDK 1.2. We also
    understand that the JServer (Aurora JVM ) which comes along with
    8i supports JDK 1.1.6. Now if we deploy classes developed using
    JDeveloper how will these classes run on a JServer ?
    Please reply as soon as possible
    Thanks & Regards
    Parvez
    null

    Here's my two cents.
    The problem you're facing is a fundamental one which is
    identified in the very first sentence: "Application GUI contains
    some complex screens...". Since most of us have developed
    client/server applications I can safely say everyone has created
    screens that have each type of control known to man and half of
    those are coded to do back flips in order to work.
    The first and most important consideration in developing web
    applications should be usability. Check out this article
    http://www.computerworld.com/home/print.nsf/all/990823BC62
    Instead of one screen with "Grid controls, Grid controls with
    combo box, Drop down combo with multicolumn list, splitted pane,
    tabbed pane and dynamic menu and toolbars" break down each task
    and present them as steps on idividual pages. Think about how we
    buy things on the web. There isn't one monster tab object with
    99 tabs for selection, shopping cart, payment, addresses and so
    on.
    Application requirements should not be based on what controls
    are needed. The job of a system designer should be to solve a
    business problem. There is no rule written in stone which says
    the solution must incorporate fancy controls all on one screen.
    Focus on ease of use and minimum training effort for the end
    user. You'll be able to achieve this with a simple, more
    intuitive design.
    All of this can be accomplished with dbServlets and EJB's
    producing HTML for thin clients. Unfortunately, entity beans
    aren't working in the 2.0 release, but should be in 3.0. I'd
    like to know when that will be available .
    Parvez Shaikh (guest) wrote:
    : Required Application Scenario:
    : The Application is supposed to be web enabled with following
    : features :
    : Application GUI contains some complex screens including Grid
    : controls, Grid controls with combo box, Drop down combo with
    : multicolumn list, splitted pane, tabbed pane and dynamic menu
    : and toolbars. The data displayed in the GUI is supposed to be
    : filled by the database. The database is on Oracle 8i. Proposed
    : development tool is JDeveloper. The guideline for development
    is
    : such that it requires thin clients and also reduced network
    : traffic.
    : Architecture support for JDeveloper
    null

  • 2 days with my iPod Touch

    I received my iPod touch 16 Gb on sunday from a friend who just came back from the US. With the euro/dollar rate change it was quiet a nice deal. Anyway I have dreamed about getting one ever since it came out but waited for an editable calendar to be offered… As soon as 1.1.2 came out I decided to go ahead. I've been reading posts on this forum for about 2 months to make sure I knew just about everything about this device and I was anxious to set it up… Well what a nice and smooth experience it was. Everything went as it should be :
    - Perfect iPod (no dead pixel, no screen problem)
    - Easy to set up, immediately recognised by my Mac, very fast sync (6 gig), easy upgrade from 1.1.1 to 1.1.2
    - Although I had seen videos and pictures, the GUI is just amazing. The screen is bright ans crisp
    - Having my music, home made films, photos, address book, calendar… and all this running with OSX in my pocket is just a thrill.
    On the "I wish they would do things about this" I hope that Apple :
    - fix the alarm (only work after a restart but as soon as you sync it to iTunes it becomes mute again)
    - the registration in iTunes wich keep on asking me to register my iPod everytime I connect it
    - a multi colored iCal + a week view + a "to do list"
    Well done Apple, I cannot wait for future upgrades.
    Cheers to you all

    Glad you like your new touch.
    If you'd like to let Apple know your concerns use this link for feedback.
    http://www.apple.com/feedback/ipodtouch.html
    lenn

  • How can I load a bitmap picture to a GUI dynamically?

    Hi,
    I would like to load bitmap pictures of waveforms (4x2 inches) to the GUI as each waveform is invoked by the operator randomly. I tried picture control VIs, it did not work. I must be making some mistake in my code.
    I need a sample code example/explanation that shows how to accomplish the task.
    I will appreciate the support.

    All you need is the Read BMP From File and the Draw Flattened Pixmap functions. The help for Read BMP From File explains this.
    Attachments:
    bmp to picture.JPG ‏7 KB

  • How do I put a picture in my gui?

    Can anyone tell me how to put a picture in my gui?
    Thank you

    Someone used my code before I added this new stuff. They took it word for word.
    I apologize if you are getting frustrated with me. Please know I am working very hard on this. Learning Java in just a few weeks to me is impossible so I wil take all the help i can get. I know it must seem very easy to you because you know it very well but I am just learning, maybe you can remember back to when you were learning?
    Anyways i tried this code but it did not work. I didn't get any errors when compiling but nothing showed.:
    JLabel label = new JLabel ( new ImageIcon("test.gif"));
        f.getContentPane().add(label, BorderLayout.NORTH);Here is my code but please keep in mind that alot of it has comments because I have not actually worked on the code for it yet. Just getting the buttons set up is where I am at.
    I really wish that i could look at the examples and just have it be easy to code from it. I tried and I tried and sometimes I can get it but sometimes I just can't.
    Thank you,
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.JFrame.*;
    import java.io.*;
    class Testing
      java.util.List<DVD> dvds = new java.util.ArrayList<DVD>();
      JTextField tfTitle = new JTextField(15);
      JTextField tfGenre = new JTextField(15);
      JTextField tfProductNumber = new JTextField();
      JTextField tfPrice = new JTextField();
      JTextField tfQuantity = new JTextField();
      JTextField tfInventoryValue = new JTextField();
      DefaultListModel dlm = new DefaultListModel();
      JList list = new JList(dlm);
      public void buildGUI()
        JButton btnLoadfile = new JButton("Load File");
        JButton btnAdd = new JButton("Add");
        JButton btnModify = new JButton("Modify");
        JButton btnDelete = new JButton("Delete");
        JButton btnSearch = new JButton("Search");
        JButton btnSave = new JButton("Save");
        JButton btnFirst = new JButton ("First");
        JButton btnPrevious = new JButton ("Previous");
        JButton btnNext = new JButton ("Next");
        JButton btnLast = new JButton ("Last");
        JPanel p1 = new JPanel(new BorderLayout());
        JPanel p = new JPanel(new GridLayout(6,2));
        p.add(new JLabel("DVD Title: "));
        p.add(tfTitle);
        p.add(new JLabel("Genre: "));
        p.add(tfGenre);
        p.add(new JLabel("Product Number: "));
        p.add(tfProductNumber);
        p.add(new JLabel("Price per Unit: "));
        p.add(tfPrice);
        p.add(new JLabel("Quantity on Hand: "));
        p.add(tfQuantity);
        p.add(new JLabel("Inventory Value: "));
        p.add(tfInventoryValue);
        p1.add(p,BorderLayout.NORTH);
        JPanel p2 = new JPanel();
        p2.add(btnLoadfile);
        p2.add(btnAdd);
        p2.add(btnModify);
        p2.add(btnDelete);
        p2.add(btnSearch);
        p2.add(btnSearch);
        p2.add(btnSave);
        p2.add(btnFirst);
        p2.add(btnPrevious);
        p2.add(btnNext);
        p2.add(btnLast);
        p1.add(p2,BorderLayout.CENTER);
        JFrame f = new JFrame();
        //f.setIconImage(new ImageIcon("test.gif").getImage());
        JLabel label = new JLabel ( new ImageIcon("test.gif"));
        f.getContentPane().add(label, BorderLayout.NORTH);
        f.getContentPane().add(p1,BorderLayout.NORTH);
        JScrollPane sp = new JScrollPane(list);
        f.getContentPane().add(sp,BorderLayout.CENTER);
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.pack();
        f.setLocationRelativeTo(null);
        dvds.add(new DVD("StarWars","Action","1245",10.00,5,55.00));
        dvds.add(new DVD("OfficeSpace","Comedy","9821",20.00,5,105.00));
        dvds.add(new DVD("Lost","Drama","9382",25.00,2,52.50));
        dvds.add(new DVD("Friends","Comedy","9824",18.00,5,94.50));
        dvds.add(new DVD("Superman","Action","3652",20.00,10,210.00));
        dvds.add(new DVD("Batman","Action","9583",17.00,7,124.95));
        dvds.add(new DVD("Cinderella","Family","2734",19.00,8,159.60));
        setList();
        f.setVisible(true);
        f.setIconImage(new ImageIcon("Images/test.gif").getImage());
        btnAdd.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent ae){
            dvds.add(new DVD(tfTitle.getText(),tfGenre.getText(),tfProductNumber.getText(),
                                    Double.parseDouble(tfPrice.getText()),
                                   Integer.parseInt(tfQuantity.getText()),
                                   Double.parseDouble(tfInventoryValue.getText())));
            setList();
            clearTextFields();
        btnDelete.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent ae){
            int index = list.getSelectedIndex();
            dvds.remove(index);
            setList();
            clearTextFields();
            btnModify.addActionListener(new ActionListener(){
               public void actionPerformed(ActionEvent ae){
             int index = list.getSelectedIndex();
            dvds.remove(index);
                 dvds.add(new DVD(tfTitle.getText(),tfGenre.getText(),tfProductNumber.getText(),
                                         Double.parseDouble(tfPrice.getText()),
                                        Integer.parseInt(tfQuantity.getText()),
                                        Double.parseDouble(tfInventoryValue.getText())));
                 setList();
                 clearTextFields();
    // btnSave.addActionListener(new ActionListener(){
    //          public void actionPerformed(ActionEvent ae){
    //                try
    //                  File file = new File("TestSave.txt");
    //                  PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(file)));
    //                  out.println("a line");
    //                  out.println("another line");
    //                  out.close();//<---------very important
    //                catch(IOException ioe){ioe.printStackTrace();}
                  //dvds.add(new DVD(tfTitle.getText(),tfGenre.getText(),tfProductNumber.getText(),
                  //                            Double.parseDouble(tfPrice.getText()),
                  //                           Integer.parseInt(tfQuantity.getText()),
                  //                           Double.parseDouble(tfInventoryValue.getText())));
    //                  setList();
    //                  clearTextFields();
    //    btnSearch.addActionListener(new ActionListener(){
    //          public void actionPerformed(ActionEvent ae){
    //               String Search =
    //               JOptionPane.showInputDialog("Enter name of Movie");
    //               int x =0;
    //               for(x = 0; x < dvds.size(); x++)
    //            DVD dvd = (DVD)dvds.get(x);
    //  if(dvd.title.equals(searchTitle))// or
    //            if(dvd.title.equalsIgnoreCase(searchTitle))
    //        list.setSelectedIndex(x);
    //        break;
    //          if(x == dvds.size()) System.out "not found";
        btnPrevious.addActionListener(new ActionListener(){
               public void actionPerformed(ActionEvent ae){
                 DVD dvd = (DVD)dvds.get(list.getSelectedIndex());
                                int index = list.getSelectedIndex()-1;
                                 if (index <0) index = dvds.size()-1;
                                list.setSelectedIndex(index);
         btnNext.addActionListener(new ActionListener(){
                    public void actionPerformed(ActionEvent ae){
                                  DVD dvd = (DVD)dvds.get(list.getSelectedIndex());
                                   //int index = list.getSelectedIndex()+1;
                                   int index = (list.getSelectedIndex()+1) % dvds.size();
                                list.setSelectedIndex(index);
        list.addListSelectionListener(new ListSelectionListener(){
          public void valueChanged(ListSelectionEvent lse){
            if(lse.getValueIsAdjusting() == false)
              int index = list.getSelectedIndex();//<---
              if(index > -1)//<---
                DVD dvd = (DVD)dvds.get(index);//<---
                tfTitle.setText(dvd.title);
                tfGenre.setText(dvd.genre);
                tfProductNumber.setText(dvd.productNumber);
                tfPrice.setText(""+dvd.price);
                tfQuantity.setText(""+dvd.quantity);
                tfInventoryValue.setText(""+dvd.inventoryValue);
      public void setList()
        dlm.clear();
        for(int x = 0, y = dvds.size(); x < y; x++)
          dlm.addElement((DVD)dvds.get(x));
      public void clearTextFields()
        tfTitle.setText("");
        tfGenre.setText("");
        tfProductNumber.setText("");
        tfPrice.setText("");
        tfQuantity.setText("");
        tfInventoryValue.setText("");
        tfTitle.requestFocusInWindow();
      public static void main(String[] args)
        EventQueue.invokeLater(new Runnable(){
          public void run(){
            new Testing().buildGUI();
    class DVD
      String title;
      String genre;
      String productNumber;
      double price;
      int quantity;
      double inventoryValue;
      public DVD(String t,String g, String pn, double p, int q, double i)
        title = t; genre = g; productNumber = pn; price = p; quantity = q; inventoryValue = i;
      public String toString(){return title;}
    }

  • How do you add a picture to an GUI application??

    i want to add a a gif file to it.. do i use image?? do i use graphics?? this is all confusing!

    im0= Toolkit.getDefaultToolkit().getImage("bg0.jpg");
    im1= Toolkit.getDefaultToolkit().getImage("bg1.jpg");
    im2= Toolkit.getDefaultToolkit().getImage("bg2.jpg");
    im3= Toolkit.getDefaultToolkit().getImage("bg3.jpg");

  • Unable to enter a Division for which I have proper credentials, via the GUI

    I have a Division which I am unable to enter, either as a student or as the full site Administrator, from the GUI.
    When I log into the main Site page, I see the link for the Division (as I should - I have DOWNLOAD permissions for the Division). However when I click the link (the thumbnail image) I am always, 100% of the time, rejected and sent to the login page. Ignoring that, I still have all of my proper credentials and may continue to freely access other parts of the site.
    In the past, I had this exact behavior on (1) a Division "RobotCourses:PSYC" (Psychology), and (2) my main site breadcrumb, which appears at the top of the site page to the right of the "iTunes U" breadcrumb and says "Maiko Covington @ University of Illinois..." For reasons completely unknown to me, this behavior resolved itself yesterday, clicking both of those objects works as expected, although NO one at our site with any edit access did anything on the server.
    However, the same behavior has now reappeared, this time on a Division "RobotCourses:CLCV" (Classical Civilizations). Again, I have not done any editing of that Division, nor had anyone logged into it (these Divisions are in a test area where I am developing automation tools).
    I am, quite frankly, stumped. But I've done some investigation.
    SETUP:
    The Division has identity "RobotCourses:CLCV".
    This Division contains a single Course with identity "RobotCourses:CLCV:CLCV115:CLCV115All-13564".
    Both the Division and the Course are restricted to properly registered academic students. I have developed automation code in a login portal which grants credentials for RobotCourses:CLCV to students registered for courses in the CLCV department (Classical Civilizations) and credentials for RobotCourses:CLCV:CLCV115:CLCV115All-13564 to students registered for CLCV 115 (Classical Civilizations 115 - Mythology of Greece and Rome) specifically.
    The Permissions set on RobotCourses:CLCV in particular are:
    <Permission>
    <Credential>Authenticated@urn:mace:itunesu.com:sites:illinois.edu</Credential>
    <Access>No Access</Access>
    </Permission>
    <Permission>
    <Credential>gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV</C redential>
    <Access>Download</Access>
    </Permission>
    The point is to deny access to Authenticated@ (merely authenticated students) and then specifically grant it for people given a "gakusei" credential for RobotCourses:CLCV in particular.
    (Note here that "gakusei" is a Japanese word meaning "student," I am using it in my credentials to ensure that my credentials and permissions are not affected by other credentials named "student" set at upper levels and used by some live users of the site, as we do not have a segregated development environment. It is our lowest level of access beyond mere Authenticated@..., designed to give students access to download and "surf to" Divisions and Courses.)
    *LOGIN: ISSUING CREDENTIALS:*
    The login portal code works successfully, and so when a student "Jane Doe" logs in, she is in fact given appropriate credentials (as she is actually registered for CLCV 115 here at UIUC). From the code generating her login URL, I see:
    Issued credentials:
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV:CLCV115:CLCV1 15All-13564
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT:STAT100:STAT1 00X1-13570
    (You can see she is also registered for STAT 100).
    With the default login URL thus generated, she is taken to the top level of the Site in iTunes, and in fact sees thumbnail links for both STAT (Statistics) and CLCV (Classical Civilizations). Clicking on STAT takes her to the STAT Division where she can then enter the Course STAT 100 with no problems.
    *PROBLEM: CAN'T GET TO CLCV FROM THE MAIN PAGE IN THE GUI*
    HOWEVER! Clicking on CLCV brings up the login page. If she ignores the login page, she can still access the rest of the site, including STAT, just fine. Logging in again (reissuing her credentials) does not help the situation.
    Note that this is not a problem only for Jane Doe, the same thing happens for anyone in CLCV and in fact happens for me as Administrator of the whole site with full access, even.
    *ACCESS DIRECTLY TO THE DIVISION BY URL WORKS*
    With a slight modification to the login to allow access directly to the RobotCourses:CLCV Division (by adding the handle of the Division to the end of the location), credentials are issued exactly as before:
    Issued credentials:
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV:CLCV115:CLCV1 15All-13564
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT:STAT100:STAT1 00X1-13570
    and she is taken to the Division page, SUCCESSFULLY. So, it seems she actually HAS access, as expected.
    *ACCESS CONFIRMED WITH DEBUGGING:*
    Writing some code to generate not the actual login URL but rather a link that takes me to an "iTunes U Access Debugging" page for the Division (figured this out by reading some other posts! :)) I am taken to a page with the following:
    (at generated URL https://deimos.apple.com/WebObjects/Core.woa/Browse/illinois.edu.1945806043/xxx5 64?credentials=....)
    Received
    Destination illinois.edu.1945806043
    Identity "Jane X Doe" <[email protected]> (jxdoe) [xxxxxxxxx]
    Credentials gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV; ​ gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV:CLCV115:CLCV1 15All-13564; ​gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT;​ gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT:STAT100:STAT1 00X1-13570
    Time 1236877947
    Signature 42ccef92a3298684a7a09eed45adb6b788a700c01645b8b423d33ace120650b0
    Analysis
    The destination string is valid and the corresponding destination item was found.
    The identity string is valid and provides the following information:
    Display Name Jane X Doe
    Email Address [email protected]
    Username jxdoe
    User Identifier xxxxxxxxx
    The credential string is valid and contains the following 4 recognized credentials:
    1. gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV
    2. gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV:CLCV115:CLCV1 15All-13564
    3. gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT
    4. gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT:STAT100:STAT1 00X1-13570
    The time string is valid and corresponds to 2009-03-12 17:12:27Z.
    The signature string is valid.
    Access
    Because the received signature and time were valid, the received identity and credentials were accepted by iTunes U.
    In addition, the following 2 credentials were automatically added by iTunes U:
    1. All@urn:mace:itunesu.com:sites:illinois.edu
    2. Authenticated@urn:mace:itunesu.com:sites:illinois.edu
    With these credentials, you have browsing and downloading access to the requested destination.
    (In case you think to check the sums, be aware I've actually changed the student's name for this example.)
    So, as expected, I have access, in fact the student DOES have access, visiting the Division page directly (specifiying its handle as part of the desired location).
    *IT'S ONLY CLICKING THE THUMBNAIL ON THE MAIN PAGE THAT BREAKS*
    Because the problem is only apparent when clicking the icon for the Division on the main Site page, I have no way (that I know of) to get any information about precisely WHAT is going on, what possibly differs in the GUI-click situation from the "generate me a URL that takes me right there" situation.
    At that point I'm fully in the GUI, I'm not sending anything via web services, so I have no idea how I can proceed to debug this from here.
    I'm also quite confused at the sudden appearance of this behavior, and the disappearance of this behavior from RobotCourses:PYSC, another Division that was broken in this same way all last week but which magically resumed allowing me access yesterday.
    Any suggestions, hints, or advice would be very welcome. Has anyone else even seen behavior similar to this?
    Thanks for any information you might have.

    Maiko,
    I'm confess I'm still trying to get a handle on your problem. You do a fantastic job of describing it ... but I'm just trying to picture it accurately in my head.
    I think, were I in your shoes, I'd begin by looking at what the debug page has to say for the specific destination in which you're interested in fixing. In other words, I'm not clear on where, exactly, this destination points ...
    Destination illinois.edu.1945806043
    Is that your site, or the division within your site that you want to fix? "Normally", you do not need to specify a site handle to get to your site within your transfer CGI ... if you say "uillinois.edu", it's enough to transfer your users to iTunes U ... but every site still has a handle, and you could, if you wanted to, actually specify it in your transfer CGI. For example, this:
    Destination uic.edu.1139051993
    is for my entire site ... it's my site handle. Whereas this:
    Destination uic.edu.1991288441
    is for a division within my site ... but it's impossible to tell the difference between "site" and "division" from just the handle (I mean, if I didn't say "this is a site" and "this is a division", there'd be no way for you to know). So when I look at your creds and permissions on your debug page, I can't quite tell if they give you download access for your site, or for the specific division you want to fix. If you could open the debug page with your division as destination (or confirm that that's what we're looking at), it'd rule out some things.

  • Background picture n problem on display other JInternal frame

    beginer;
    this is my code below n i compile it n the picture display correctly, but it seems to hide other internal frame as well, what wrong with my code :(, the problem is been specified between ? symbols
    public class InternalFrameDemo extends JFrame implements ActionListener {
    JDesktopPane desktop;
    public InternalFrameDemo() {
    super("InternalFrameDemo");
    int inset = 50;
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    setBounds(inset, inset,
    screenSize.width - inset*2,
    screenSize.height - inset*2);
    Toolkit kit = Toolkit.getDefaultToolkit();
    Image icon = kit.getImage("ADD.gif");
    setIconImage(icon);
    //Set up the GUI.
    desktop = new JDesktopPane(); //a specialized layered pane
    createFrame(); //create first "window"
    setContentPane(desktop);
    setJMenuBar(createMenuBar());
    //Make dragging a little faster but perhaps uglier.
    desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
    ImageIcon image = new ImageIcon("abc.jpg");
    JLabel background = new JLabel(image);
    background.setBounds(0, 0, image.getIconWidth(), image.getIconHeight());
    getLayeredPane().add(background, new Integer(Integer.MIN_VALUE) );
    JPanel panel = new JPanel();
    panel.setOpaque(false);
    setContentPane( panel );
    protected JMenuBar createMenuBar() {
    JMenuBar menuBar = new JMenuBar();
    //Set up the menu item
    return menuBar;
    public void actionPerformed(ActionEvent e) {
    else {
    quit();
    protected void createFrame() {
    Books frame = new Books();
    frame.setVisible(true);
    desktop.add(frame);
    try {
    frame.setSelected(true);
    catch (java.beans.PropertyVetoException e) {}
    protected void quit() {
    System.exit(0);
    public static void main(String[] args) {
    try {
    UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
    catch (Exception e) {
    JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    InternalFrameDemo frame = new InternalFrameDemo();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //Display the window.
    frame.setVisible(true);
    tanz.

    This might be what you are trying to do:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.plaf.*;
    public class TestInternalFrame extends JFrame
         ImageIcon icon;
         public TestInternalFrame()
              icon = new ImageIcon("????.jpg");
              JDesktopPane desktop = new JDesktopPane()
                 public void paintComponent(Graphics g)
                      Dimension d = getSize();
                      g.drawImage(icon.getImage(), 0, 0, d.width, d.height, null);
              getContentPane().add( desktop );
              final JInternalFrame internal =
                   new JInternalFrame( "Internal Frame", true, true, true, true );
              desktop.add( internal );
              internal.setLocation( 50, 50 );
              internal.setSize( 300, 300 );
              internal.setVisible( true );
         public static void main(String args[])
              TestInternalFrame frame = new TestInternalFrame();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.setSize(400, 400);
              frame.setVisible(true);
    }

  • Can I use SubPanels to display and run multiple executables from the same GUI?

    I have two Labview executables that performs some A/D I/O, each using an independent USB-6008.  I would like to run both of these executables from a single UI.  Is this possible usin SubPanels?  Or some other method?
    I found KB regarding exe's and VI Server but can't seem to get the suggested workarounds implemented.
    http://digital.ni.com/public.nsf/allkb/8545726A00272EB0862571DA005B896C?OpenDocument
    I am using Labview2009
    Thanks
    Dan
    Solved!
    Go to Solution.

    DBerry wrote:
    No, of course I am not sure yet.  I have only begun testing this method. 
    Not sharing common hardware (separate USM-6008s).
    Here is the whole picture:
    I have developed a top-level VI that performs Daqmx IO using a single USB-6008.  The top-level VI references a Project Daqmx Task that points to the desired 6008.  I would like to create a single UI that uses this top-level VI to control twoUSB-6008s simultaneously.  I thought I could build the top-level VI into 2 separate exes, where the only difference between the exes is the hardware it points to (one exe to each of the 6008s).  But I have been unsuccessful at running these two exes within a single UI.  I attempted use subpanels on a tab control to do this but I am unable to obtain a reference to the top-level vis once they have been built into an exe.  I have also tried building a dll and exporting the top-level vi from the dll build but i can't seem to get that to work either.  In both of these cases my Open VI reference function returns errors (Error 1445).  I am aware of the changes in referencing VIs from within an exe/dll since LV8.2 - http://digital.ni.com/public.nsf/allkb/8545726A00272EB0862571DA005B896C
    The link seems to suggest that I should be able to obtain a reference to the top-level vi within the dll but I can't get it to work.
    So I then moved on to the above method (making all the subvis reentrant).  I just haven't figured this all out yet.
    If you have suggestions on other problems I may run into please share.  I think I can eliminate my FGs but haven't gotten back to this yet.
    Thanks
    Dan
    When I am designing apps of the type you described I have kept the ned goal in mind from the begining since of the issue you are mentioning. I also don't want to tell you to throw it all away and start over. So with that in mind I have been looking at your posts and only offering the least destrutive ideas first. With that in mind I would like to invite yo uto look at the code i posted in this thread (reply #18 has a zip).
    That code shows how to realize un-dockable GUI regions but it passes the ref of the top level VI to a reentrant VI it instanciate for each undockable region. It may have enough hints and technique to give you some ideas that will work for you.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Gif file opening through MS Picture Mgr instead of viewer

    Hi,
    We have gif files displaying in MS Picture viewer instead of  ECL viewer in sap.
    The bmp files are opening in ECL viewer.
    Please help in what needs to be done.
    Anirudh,

    Dear Anirudh,
    please check if you have installed the ECL Viewer properly. Please see the SAP note <a href="https://service.sap.com/sap/support/notes/1083901">1083901</a> and install the latest available version 6.
    Before I would like to ask you, to uninstall your former ECL
    Viewer before you installed Version 6? To check if the ECL Viewer is
    un-installed please search for WebViewer2d.dll file. If it is present
    then it means ECL Viewer is still installed on your PC. You can also
    check the folders and should be able to see all the dll's for ECL Viewer
    such WebViewer3d.dll/Printing.dll etc to make sure that there is not
    only single file but the whole installation.
    Generally there are two possibilities to un-install the ECL Viewer:
    - Uninstall the version integrated with SAP GUI by using SAP
    Installation scripts. You need to uncheck the 'EAI Viewer' component in
    'General Add-on' option.
    - Check add/remove program and if there is an entry like SAP Viewer,
    uninstall it.
    After this search again, and you should not get WebViewer2d.dll file on
    machine. Now reinstall the latest Viewer.
    Best regards,
    Christoph

  • Dual monitor setup minus FCP GUI

    Just purchased a Macbook Pro for editing, and would like to know if there is a way to set up a second monitor that would give me the timeline video minus the GUI of the Canvas.  Just a clean picture without the editing interface.
    Many thanks in advance!

    Digital Cinema Desktop Preview (found under View>VideoPlayback)
    x

  • Scrollable picture with other pictures attached to it?

    Any ideas how and with what classes this should be done?
    I want to make a GUI with largish picture in the background.
    The size of the picture exceeds the size of the window
    so it needs to be scrollable.
    Then I want to have other smaller images on top of that.
    These images should also move when the background is scrolled
    and my plan is to be able to drag them around with mouse
    (i.e. change their position in relation to the background picture).
    I managed to create the scrollable picture, but weren't
    able to display anything on top of it.
    I'm using JDK 1.3.1 (and Borland's Java Builder 7)

    All right, I managed to do it all. This Java is pretty quick to use
    (when you know what class to inherit ;)
    Here's the sollution for those draggable pictures
    public class DraggablePic extends JLabel implements MouseMotionListener, MouseListener {
      int clickPositionX;
      int clickPositionY;
      // constructors
      public DraggablePic() {
        super();
        addMouseMotionListener(this);
        addMouseListener(this);
      public DraggablePic(Icon image) {
        super(image);
        addMouseMotionListener(this);
        addMouseListener(this);
      // mouse motions
      public void mouseDragged(MouseEvent e) {
        super.setLocation(e.getX()-clickPositionX+this.getX(),
                          e.getY()-clickPositionY+this.getY());
      public void mouseMoved(MouseEvent e) {
      // mouse events
      public void mouseClicked(MouseEvent e) {
      public void mouseEntered(MouseEvent e) {
      public void mouseExited(MouseEvent e) {
      public void mousePressed(MouseEvent e) {
        clickPositionX = e.getX();
        clickPositionY = e.getY();
      public void mouseReleased(MouseEvent e) {

  • HP Laserjet P1006 - GUI Print Options Problem

    This printer works fine if I'm just printing with the default settings. However...
    I want to be able to turn on EconoMode and turn down the Print Density to save on toner. Unfortunately, the driver is giving me one frustrating time. It looks like it works until I choose an option like 'Print Quality'.
    What happens? I've uploaded a picture of what happens here: narkeeso.com/images/Picture%203.png
    If you look the print options GUI jumps to the top left corner. No problem right? Just click on it... but NOOOOO you can't click on anything not even where it's suppose to be. It's as if that option doesn't exist.
    I am using the latest driver off the HP site. Any help would be appreciated.
    Message was edited by: Michael Narciso

    printing was going fine and then after updating Office 2004, problem kept happening and then became unfixable when I upgraded to Leopard. Just got off phone with MS and they gave me a temporary fix... using key commands (command-P) will not get Word or Excel flies to print, but if you use the printer icon in the toolbar, it seems to work. However you can only print "all" pages, not a select range. MS said their engineers are working on it and hope to have an update to fix it so we can use command keys or selecting print from the "file" menu in each app. Hope this helps.

  • I took a picture using camera plus app and the photo shows up in my camera roll; however, when I tap to view it a gray box shown instead. I tried to download the image and only the gray box shows. Can anyone help me?

    I took a picture using camera plus app. The photo shows up in my camera roll as a thumbnail; however, when I tap to view the photo it comes up as a gray box. I tried downloading, emailing, and copying the picture, but it always saves as a gray box. Can anyone help me?

    Hi Giorgiovdb!
    Unfortunately I cannot help you; all I did was test for you.
    I did an upgrade over my Lion install with Mountain Lion which went fine. I just tested icon view in my Finder on different files and folders and here in my installation all stays fine; good readable like in column view!
    The only thing you might try is change your Font in Finder and set it back to the original afterwards!
    I quickly Google'd how to change fonts in the Finder as appearantly there's no obvious gui item for it:
    http://usermanifest.wordpress.com/2012/07/06/osx-finder-title-bar-font/
    Try to see if it brings you anywhere!
    At my post all fonts act normal after my upgrade to Mountain Lion; I don't do a clean install unless I really have to!
    Goodluck!
    Gaytan

Maybe you are looking for

  • Why I can Send Mail Here -- Plz Help

    Hi All, I m trying to send Mails to multiple users with the MailerBackp.java. But it is trowing some exception in parsing the InternetAddress import java.util.*; import java.util.concurrent.*; public class MailerBackup {      private final FileCollec

  • Including location file in Attachment of IP_MESSAGE_TYPE to B2B

    Dear Reader, I am using SOA suite 10.1.3.4. and B2B 10g configured in Suse. I have made a BPEL proces that enqueues messages using an AQ adapter to the B2B database. For this I need to fill in the IP_MESSAGE_TYPE (payload header) that is required by

  • WRV54G suddenly losing internet connection

    I've had this router running for 2 years with little or no problems.  About 2 weeks ago I started to lose the internet connection on this router.  If I open up a browser session (IE or Firefox) it comes back with an error page.  I can not open up the

  • Do you need final cut pro to work it

    do you need final cut pro to be able to use motion 5 can someone help me and what does motion do for a start?

  • Execution time for an insert/update

    Hello! We are using EJB entities 3.0 and JPA configured to run on WAS and DB2. We also are using Container Managed Persistence We have a transactional method let's name it addA(), when executed, ultimately inserts data in 11 DB2 tables. In some of th