How to create a browser to view JPEG files?

Hi people,
just wondering if anyone knows how to create a simple browser to view JPEG or some other image files?...Is there e.g. or tutorial provided by Sun on this...
AG

Sure, the Java Tutorial duscusses working with ImageIcons in an applet (or application) here:
http://java.sun.com/docs/books/tutorial/uiswing/misc/icon.html
The IconDemoApplet example is just such an image browser. Cheers,
Chris

Similar Messages

  • How to create EVENTS for a View Cluster.

    Hi Tech Gurus,
    I have created a view cluster on 5 tables. I need to do a validation and this can be done by using events. But i am unable to create a EVENT for the View Cluster. Could anyone please tell me how to create events for a View Cluster.
    Thanks in advance for your esteemed replies.
    Regards,
    Raghavendra Goutham P.

    Hello Pasapula
    When you are in the View Cluster maintenance dialog (SE54) click on dialog "Events".
    Below the field for the view cluster you have an additional field <b>FORM routines main program</b>. There you have to add the main program containing the FORM routines called by the VC events.
    For example: I had defined a normal report containing an include with all the FORM routines. The report contains only the following lines of coding:
    report zus_0120_u1.
    * Common Data und access routines for user exits in VC maintenance
    include LSVCMCOD.
    include  zus_0120_f1. "FORM routines for VC events
    Now in the "Events" dialog of the view cluster maintenance you assign your FORM routines to the events.
    Regards
      Uwe

  • How to create list of a View's column names and source

    Using SQL 2005, 2008, and 2012
    How to create list of a View's column names and source. For the following example would like to @Print something like the following.  Does anyone already have some code to do this? I realize there are probably some gotchas, but the views that I am looking
    at to use this follows the code snippet pattern below.
    DBACCT.[Account Number]
    dbo.ConvertDate(DBACDT). [Boarding Date]
    DBXES.DBXES
    CREATE VIEW [dbo].[v_ods_DBAL]
    AS
    SELECT DBACCT AS [Account Number], dbo.ConvertDate(DBACDT) AS [Boarding Date], DBXES
    FROM dbo.ods_DBAL

    The column information can be obtained from INFORMATION_SCHEMA.COLUMNS view using logic like below
    SELECT c.COLUMN_NAME,c.DATA_TYPE
    FROM INFORMATION_SCHEMA.COLUMNS c
    WHERE EXISTS (SELECT 1
    FROM INFORMATION_SCHEMA.TABLES
    WHERE TABLE_NAME = c.TABLE_NAME
    AND TABLE_TYPE='VIEW')
    http://technet.microsoft.com/en-us/library/ms188348.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to create variant for table/view ?

    Hi,
    When I go through SM30, I find a radio button called variant. I don't know the effect.
    Can anyone tell me how to create variant for table / view ?
    I want to know when we need to create variant for table/view.
    Best regards,
    Chris Gu

    hi ,
    Whenever you start a program in which selection screens are defined, the system displays a set of input fields for database-specific and program-specific selections. To select a certain set of data, you enter an appropriate range of values.
    For further information about selection screens, refer to Selection Screens in the ABAP User's Guide.
    If you often run the same program with the same set of selections (for example, to create a monthly statistical report), you can save the values in a selection set called a variant
    Procedure
    To create a new variant:
           1.      On the ABAP Editor initial screen, enter the name of the program for which you want to create a variant, select Variants, and choose Change.
           2.      On the variant maintenance initial screen, enter the name of the variant to be created.
    Note the naming convention for variants (see below).
           3.      Choose Create.
    If the program has more than one selection screen, a dialog box for screen assignment appears. The dialog box does not appear if the program only has one selection screen. The selection screen appears in this case.
           4.      If there is more than one selection screen, select the screens for which you want to create the variant
    5.      Choose Continue.
    The (first) selection screen for the report appears.
    If your program has more than one selection screen, use the scroll buttons in the left-hand corner of the application toolbar to navigate between them and to fill the fields with values. If you keep scrolling forwards, the Continue button appears on the last selection screen.
           6.      Enter the desired selection values, including multiple selection and dynamic selection.
           7.      Choose Continue.

  • How to create rtf template to view report in Word and Excel, with numeric f

    Hi,
    Please help me!
    How to create rtf template to view report in Word and Excel, with numeric formatted fields (like this 999 999 999,99 with spaces between numbers) and then end user be able to process those fields with Excel tools (sum, etc).
    Thank you.

    From what I have seen Excel can not handle 999 999 999.00. You can use 999999999.00 and then format it as you want in the xls bt you can not have values like 999 999 999.00 coming from publisher output and have functions on the values in Excel
    Tim

  • How to create a left join view in se11??

    I would like to create a view which contains KNA1,KONA,KNVV,KNVH(four tables) , I want to use this view to create a search help for Tcode 'VBO3'.
    but when I join table KNVH, there is no data in view, because there is no customer hierarchy, so I want to create a left join view. could you please tell me how to create a left join view? Thank you very much.

    Hello,
    yes, in general, maint. view and help view could be created as outer join view.
    but it should obey relationship.
    my fourt tables:
    KONA -
    > I want to get agreement number and type from this table
    KNA1 -
    >I want to get customer name, city, country from this table
    KNVH -
    >I want to get customer hierarchy from this table.
    KNVV -
    >I want to get customer group 1 from this table.
    but in help view, I can only get relationship between KONA and KNA1.
    I could not find the relationship for KNVH and KNVV.
    if it's required to add a search help exit, then how to write the code in the function?
    Could somebody please give me any solutions? thank you.

  • How to create OEMS JMS In-Memory and File-Based Persistence?

    Anyone knows how to create OEMS JMS In-Memory and File-Based Persistence? Any help it is appreciated. I m working with Oracle BAM 11g TP4 and I want to test the capability of connecting directly to a JMS queue, and reading Oracle´s "complex" documentation I couldnt find the right way to make this happen.
    tks

    Hi Mario
    This is explained in the soa developer's guide. Chapter 43 "Enterprise message source"should help you. You will find how to connect OEMS or JMS in-memory/file based to your BAM data objects with or without xpath transformation.
    You can find sample of advanced XML formating in the 10g tech note: "Oracle BAM 10.1.3 configuration for BPEL 10.1.2 using JMS sensors" (useful even if you don't plan to use BPEL).
    Anyway, if you plan to use BPEL, forget JMS and use the BAM adapter (chapter 42), it's quicker & easier.
    Dominique

  • How to create OEMS JMS In-Memory and File-Based Persistence ? Anyone?

    Anyone knows how to create OEMS JMS In-Memory and File-Based Persistence? Any help it is appreciated. I m working with Oracle BAM 11g TP4 and I want to test the capability of connecting directly to a JMS queue, and reading Oracle´s "complex" documentation I couldnt find the right way to make this happen.
    tks

    Hi Mario
    This is explained in the soa developer's guide. Chapter 43 "Enterprise message source"should help you. You will find how to connect OEMS or JMS in-memory/file based to your BAM data objects with or without xpath transformation.
    You can find sample of advanced XML formating in the 10g tech note: "Oracle BAM 10.1.3 configuration for BPEL 10.1.2 using JMS sensors" (useful even if you don't plan to use BPEL).
    Anyway, if you plan to use BPEL, forget JMS and use the BAM adapter (chapter 42), it's quicker & easier.
    Dominique

  • How to view .jpeg files in Yosemite

    Am using Yosemite (10.10.2) on my iMac and want to view rather old .jpeg photos. When I attempt to open them, I get an error message saying Photoshop 3.0 is required. When the file titles are displayed in Finder, I can see the little-bitty picture, so I think the Mac knows the picture is there, just reluctant to let me view it.  (I tried using Preview and iPhoto and neither one works for this.)
    Is there some way to view these photos with the existing Mac programs?
    Thank you,
    TBS2

    Thanks for all the replies. I tried to respond to everyone individually, but the rules say I can only post content every 30 seconds. Hence this combined reply.
    Don't have "Quick Look" on my iMac. I did use the "Get Info" option to open all .jpeg files with Preview. Didn't work. Did try to open the files from within Preview using the "Open file" option.
    Tried opening with Firefox (thanks to whomever posted that hint somewhere on the blog) and the Firefox error message says there is an error in the file.
    I am able to open other .jpeg files with Preview, so I am now of the belief there is a problem with the file, not with how my system is handling it.
    Suppose a "fixer" of some kind is in order, but I don't know what that is!
    Thanks again for everyones help.
    TBS2

  • How to create repository using a view in OBIEE

    Hi,
    Can any one explain the procedure how to create a repository using a view. For example
    test_v
    select a.col1,a.col2,b.col1,b.col4,c.col5,c.col6 from table a,table b, table c where a.col1= b.col1 and b.col1 = c.col1
    1. Assuming that i have imported only one view.
    Thanks and Regards,
    Hanuman.

    Hi,
    You can create the vie in the physical layer of your repository, select "Select" from the dropdwan box when you create a new table. Next add the columns. They must have the same names as in your view.
    If you don't have any other tables in your repository, created an alias of your view and make a "dummy" join with the original view. Next create your BM and PL.
    regards
    John
    http://obiee101.blogspot.com/

  • How to create a browse button in applet

    Hi All,
    Need another help...
    I want create a Browse Button in java applet frame such that if I click on that button, I can pick a file from any folder of my machine.
    Is there any way to do so? If yes, can you give me a small code as example.
    Regards,
    Uji

    Hey Ujjal,
    I know it's late and I don't know if you're still having this issue but maybe this can be helpful to the next person who has it. As was already said, I think you should probably consider doing this project as an application rather than an applet to avoid file access permission problems. That said, here's how I would do it (since no one has answered your question directly):
    First this class should extend JFrame or some other window class
    Next create a file object (it's static so it can be accessed by anonymous classes later):
    private static File myFile = null;Then, inside the appropriate method (probably something like init() or main()), make the button and give it some functionality with an anonymous MouseListener:
    JButton myBrowseButton = new JButton("Browse");
    myBrowseButton.addMouseListener(new MouseAdapter(){
        // an anonymous MouseAdapter
        public void mouseClicked(MouseEvent e){
            ...now in here you'll want the code to make a JFileChooser in a dialog window
            // create a dialog window
            final JDialog myChooserDialog = new JDialog();
            myChooserDialog.setTitle("Browse");
            // an anonymous JFileChooser
            JFileChooser myFileChooser = new JFileChooser(PATH){
                // an anonymous instantiator to set the text of the select button
                { setApproveButtonText("Select"); }
                // what to do when the user clicks select
                public void approveSelection(){
                    // you might want to make sure the selected file is valid before this step
                    myFile = getSelectedFile();
                    myChooserDialog.dispose();
                // what to do if the user clicks cancel
                public void cancelSelection(){ myChooserDialog.dispose(); }
            ...add the chooser to the dialog and make it visible
            myChooserDialog.add(myFileChooser);
            myChooserDialog.setVisible(true);
            myChooserDialog.pack();
    });Now add the button to the frame and make it visible
    add(myBrowseButton);
    setVisible(true);
    pack();A few notes:
    1) Replace the word PATH with the path to the directory you want to browse (e.g. "." the current working directory)
    2) Make sure all of that code except for private static File myFile = null; goes into a method and isn't just floating around
    3) If ANY of this was confusing then go D.A.F.T (Do A Fecking Tutorial!)
    good luck!
    pieman

  • SharePoint 2013 Online : Custom List view xslt webpart UI vs List View WebPart UI with search ? How to create a xslt list view webpart same UI as list View webpart ???

    I have created a xslt list view webpart but I does not have UI as SharePoint 2013 list view UI.
    how I can have it.
    Ahsan Ranjha

    Hi Ahsan,
    According to your description, my understanding is that the UI is different between XSLT web part and List View web part.
    Per my knowledge, the List View web part is a kind of the XSLT list view web part which uses XSLT to display data on the page.
    http://sharepoint-videos.com/list-view-and-data-view-web-parts/
    How did you add the XSLT web part and the List View web part?
    Could you please provide a screenshot of the two web parts?
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to create links in table view

    Hi
    I am working in IC WebClient.
    Can any body guide me how to create link on particular column of the table view and How can we navigate to another page by clicking on this link ?
    I am filling the internal table (for table view) by z tables. I do not have context node for that.
    Points will be rewarded.

    use Iterators. In the itarator you can create any BSP Object you wish to.
    in the method RENDER_CELL_START of the interface IF_HTMLB_TABLEVIEW_ITERATOR
    METHOD if_htmlb_tableview_iterator~render_cell_start.
      DATA: lo_text     TYPE REF TO cl_htmlb_textview,
            lo_link TYPE REF TO cl_htmlb_link,
            lv_link_click TYPE string,
            lv_link  TYPE string,
            lv_dim   TYPE string,
            lv_pernr TYPE string.
      FIELD-SYMBOLS: <dat> TYPE ANY.
      lv_link  = 'info.htm?pernr='.
      lv_dim   = 'left=300,top=220,width=620,height=200,menubar=0,scrollbars=yes,resizable=no'.
      row_ref = p_row_data_ref.
      CASE p_column_key.
        WHEN 'PERNR'.
          CREATE OBJECT lo_link.
          lo_link->id            = p_cell_id.
          lo_link->text          = get_column_value( p_column_key ).
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
            EXPORTING
              input  = lo_link->text
            IMPORTING
              output = lv_pernr.
          CONCATENATE `window.open('` lv_link lv_pernr `' , '` lo_link->text `', '` lv_dim `');` INTO lv_link_click.
          lo_link->text = lv_pernr.
          lo_link->onclientclick = lv_link_click.
          p_replacement_bee      = lo_link.
        WHEN OTHERS.
          CREATE OBJECT lo_text.
          lo_text->id       = p_cell_id.
          lo_text->wrapping = 'FALSE'.
          lo_text->text     = get_column_value( p_column_key ).
          lo_text->design   =  'STANDARD'.
          p_replacement_bee = lo_text.
      ENDCASE.
    ENDMETHOD.
    How to use Iterators.
    /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
    Hope this helps.
    Cheers
    Amandeep
    <i><b>Reward points for each helpful answer.</b></i>

  • How to create types of materialized views

    Hi
    Can you please tell me how to create vaious types of materialized view.Also please tell me differences among them.

    Oracle docs at tahiti.oracle.com contain exactly the info you need as said previous poster. You can look into SQL reference about MV create statement that contains a brief overview of all types as well as data warehousing guide which contains at least 4 chapters that are about MVs - Basic MV, Advanced MV, Basic query rewrite and Advanced query rewrite.
    Gints Plivna
    http://www.gplivna.eu

  • How to create a 'Last Page Viewed' button

    I would like to create a last page viewed button which can be placed at the footer of each page of a document.  I currently write user manuals running into hundreds of pages which all contain hyperlinks at various points.  For example, a list of drawings when clicked will jump to whichever drawing has been selected. In this case I need to provide the user with a method of jumping back to the original list.  As this drawing may also have a link from elsewhere in the manual  the button should take the user to the last viewed page rather than any specific location.
    I hope this makes sense, any suggestions appreciated.
    Trev
    Currently using Acrobat XI Pro and Win 7

    This has nothing to do with HTML.
    In Form Edit mode, create your button on the first page, then go to its
    Properties, Actions tab, and add a new Mouse Up action with the "Execute a
    menu item" command. From the list that pops up select "View>Page
    Navigation>Previous View". Set the button's caption and other properties
    and then exit the Properties dialog. Now right-click the button and select
    "Duplicate Across Pages". This will allow you to create identical copies of
    this button on all the pages in the file.

Maybe you are looking for

  • Support package update error

    Dear all, I am currently update my system. The current version is ECC6 EHP7 based on NW7.4 SAP_BASIS 740 0002 SAP_ABA 740 0002 I would like to upgrade to SPS level 5 We use DB2 LUW 10.5 In the update phase, we encountered an error message: SQL-error

  • Mid 2009 MBP OSX Lion Unresponsive/Locking/Freezing

    I wonder if anyone able to shed any light on the issues that I have begun to experience with my MBP? I am having an issue where my MBP has started to freeze on a daily basis, this has been happening for approx 1 week. If I'm using the MBP at the time

  • How do i get a photo someone sent me on my phone to my computer ?

    how do i get a photo from my phone to my computer ?

  • Size of Articles and Folios after update

    Hi, with the new Content Viewer there is no way to see the size of folios and articles - is there any solution? We are working on Windows. Thanks for your help! Philipp

  • Array out of bounds Exception

    this code :   public void clearAroundTile (int row, int col) {         //Checks if a tile is visited, has a hint and hintvalue == adjacent flagged tiles        if(tiles[row][col].isVisited() && tiles[row][col].isHint() && tiles[row][col].getHint()<=