Adding notes on an image

hi everybody, i have a problem.
� have an jpeg image and i am drawing this image on a jpanel.
jpanel setsize with the image size.
i want to add note on this image by using drawline and drawstring.
i am using drawline to connect the string to a specific point on the image.
i have done this but in wrong way. I am adding notes more than one and also the lines but when � saved the image the notes and lines does not appears on the image. The real problem is how can � add more than one notes and lines on the image without losing them on the image. because when the paint method called the image is refreshing. i want to keep the image with the notes and lines without losing them.
i am using to keep the image and the other notes and lines by using this method :
g = jPanel1.getGraphics();
jPanel1.paint(g);
then i am going on but when the component minimized or some other windows opens on it the notes are going away. i think i am drawing the notes and lines on the screen.
thanks a lot.
utku selamoglu
[email protected]

as was mentioned in your previous post, please use code tags when posting code here. Your current code is unformatted making it difficult to read. Also, when doing this, make sure that the pasted code has proper indentation before you use the code tags.
To do this, you will need to paste already formatted code into the forum, highlight this code, and then press the "code" button at the top of the forum Message editor prior to posting the message. You may want to click on the Preview tab to make sure that your code is formatted correctly. Another way is to place the tag [code] at the top of your block of code and the tag [/code] at the bottom, like so:
[code]
  // your code block goes here.
  // note the differences between the tag at the top vs the bottom.
[/code]

Similar Messages

  • Adding a reflection to images makes the image not there on web!

    Sorry, wasn't sure how to narrow this down in the subject header, but when I add the refelction effect for an image on a webpage, when I visit the published site, and try to drag or right click on the image to open it in another window or drag it from the website to my desktop, I only get the reflection and not the actual image. If I turn the reflection effect off, and reload the page, I can get to the image. Does this have something to do with the Forward or Backward commands in iWeb editor? I think I tried both and saw no changes on the problem.

    droppedpic1.jpg SOUNDS like dragging and dropping from one app to another, but usually these get assigned droppedImage.tiff or .pdf. If you're dragging from the Finder to iWeb, it takes Finder's name. If you're dragging from another app, since it doesn't have a filename AND iWeb has to give it a filename (to save in the Domain.sites file), it could be assigned something like you see there. I've had problems with these generic names in the past so even though I CAN drag and drop, I usually copy, paste into Preview then save it with the filename I want it to have. Much easier to keep track of the right images that way.
    Think of it this way, anyone trying to swipe your image won't be able to do it with a click and drag I'm going to have to do some playing around because while I've seen the imageEffectsBelow like on the buttons on this page (just grabbed one at random)
    http://web.mac.com/simonhellwig/iWeb/portfolio/hellwig.html
    I haven't seen an unresized reflection. So I'll create one
    If you create a hyperlink to a .jpg, then it'll open in a separate window OR the user can click to download it as well.

  • Dreamweaver does not link any images or styling to my webpage

    Hi,
    I have been creating a webpage and have moved images from one folder to another and now the website will not display any images or styling. I have moved all the content back and it still doesn't show. I have created a completely new website with new images and styling and even now it still doesn't link the images to the "live view" (or when I open it in a browser). What have I messed up?
    Thanks in advance.
    Tom.

    Thanks for you quick response - Please note that even if I use a template it doesn't show any image I put in. Can you see a problem with this template code? I have put the HTML and then the CSS after
    PLEASE ALSO NOTE: I have completely re-done site management and moved images to where they should be. This has not worked.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <link href="file:///C|/Users/admin/Desktop/tomstinhouse/twoColElsRtHdr.css" rel="stylesheet" type="text/css" /><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColElsRtHdr #sidebar1 { padding-top: 30px; }
    .twoColElsRtHdr #mainContent { zoom: 1; padding-top: 15px; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    </head>
    <body class="twoColElsRtHdr">
    <div id="container">
      <div id="header">
        <h1>Header</h1>
      <!-- end #header --></div>
      <div id="sidebar1">
        <h3>sidebar1 Content</h3>
        <p>The background color on this div will only show for the length of the content. If you'd like a dividing line instead, place a border on the right side of the #mainContent div if the #mainContent div will always contain more content than the #sidebar1 div. </p>
        <p>Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque  eget, cursus et, fermentum ut, sapien. </p>
      <!-- end #sidebar1 --></div>
      <div id="mainContent">
        <h1> Main Content </h1>
        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam,  justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam  ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo  porttitor, felis. Nam blandit quam ut lacus. </p>
        <p>Quisque ornare risus quis  ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean  sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at,  odio. Donec et ipsum et sapien vehicula nonummy. Suspendisse potenti. Fusce  varius urna id quam. Sed neque mi, varius eget, tincidunt nec, suscipit id,  libero. In eget purus. Vestibulum ut nisl. Donec eu mi sed turpis feugiat  feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut,  sapien. Fusce metus mi, eleifend sollicitudin, molestie id, varius et, nibh.  Donec nec libero.</p>
        <h2>H2 level heading </h2>
        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam,  justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam  ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo  porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis  ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean  sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio.</p>
    <!-- end #mainContent --></div>
    <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
       <div id="footer">
        <p>Footer</p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    </body>
    </html>
    @charset "utf-8";
    body  {
    font: 100% Verdana, Arial, Helvetica, sans-serif;
    background: #666666;
    margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #000000;
    /* Tips for Elastic layouts
    1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
    2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
    3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
    .twoColElsRtHdr #container {
    width: 46em;  /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
    background: #FFFFFF;
    margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
    border: 1px solid #000000;
    text-align: left; /* this overrides the text-align: center on the body element. */
    .twoColElsRtHdr #header {
    background: #DDDDDD;
    padding: 0 10px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
    .twoColElsRtHdr #header h1 {
    margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
    padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
    /* Tips for sidebar1:
    1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
    2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width.
    3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".twoColElsRtHdr #sidebar1 p" rule.
    .twoColElsRtHdr #sidebar1 {
    float: right;
    width: 12em; /* since this element is floated, a width must be given */
    background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
    padding: 15px 0; /* top and bottom padding create visual space within this div */
    .twoColElsRtHdr #sidebar1 h3, .twoColElsRtHdr #sidebar1 p {
    margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
    margin-right: 10px;
    /* Tips for mainContent:
    1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
    2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
    3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
    4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
    .twoColElsRtHdr #mainContent {
       margin: 0 13em 0 10px; /* the left margin will look best if you match the padding amount to the header and footer. */
    .twoColElsRtHdr #footer {
    padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
    background:#DDDDDD;
    .twoColElsRtHdr #footer p {
    margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
    padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    /* Miscellaneous classes for reuse */
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page */
    float: left;
    margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;

  • 2 issues in LI2,  slowing and freezing during developing, slideshow not showing all images.

    1. Lightroom Is slowing down during normal development.
    I only have 3500 photos in this catalog and am working on 50 to 200 photo in Raw format at a time,
    When Opening and beginning  a project the program worked fine but after a few hours of adjustments the program slows and then  freezes for minutes at a time forcing me to shut down the computer and restart.  I have a 1.5 TB hard drive and have moved the bulk of my files to a backup drive freeing up the MAJORITY of the hard drive for processing.  I have been threw the 8 ways to speed up Lightroom and an finding the problem persisting. IDEA'S?
    2. LI's Slideshow is not consistent in showing all the images.
    after going through the slideshow's setting and playing the slideshow, LI will show some photos and not others and start over at random order.  Idea's?

    Images that are edited in Photoshop will be displayed automatically in Lr only when the image-file saved in Photoshop is the same as the one opened from Lr.
    You say you open a JPG from Lr, then edit it in PS by - among other things - adding some layers. Layers are not supported in the JPG-format so you have to either save it as a psd or as a jpg-copy.
    In either case this is not the same image file as the one opened in Lr, so it will have to be imported into Lr to show up. If you would flatten your image after editing in PS and then do a <save> to your JPG - not a <save as> - it will show up in Lr.
    PS: the only exception is when you open a Raw image from Lr in PS and you save it in PS in the file format specified in Lr for external editing. The saved file will automatically show in LR.
    Message was edited by: web-weaver; PS added

  • [svn:osmf:] 13851: OSMFPlayer: adding a nicer sample image.

    Revision: 13851
    Revision: 13851
    Author:   [email protected]
    Date:     2010-01-28 04:18:13 -0800 (Thu, 28 Jan 2010)
    Log Message:
    OSMFPlayer: adding a nicer sample image.
    Modified Paths:
        osmf/trunk/apps/samples/framework/OSMFPlayer/html-template/index.template.html
    Added Paths:
        osmf/trunk/apps/samples/framework/OSMFPlayer/html-template/images/vegetation.jpg

    Hi,
    You are the first person I have read so far on this forum who does not use Flex or Flash builder. I will check out FlashDevelop. It is good information to know. Thanks a lot!
    -Wei Zhang
    Senior Computer Scientist
    Adobe Systems, Inc.
    [email protected]

  • Simulate Acquisition does not include new image file created after first call

    For example, I have 5 images in a folder.
    I call Simulate Acquisition.
    It cycles through all 5 images.
    Now If I include 1 more image it does not include this image in the "cycle". I need to reload this step by clicking Main\path\browse button and select any image in the folder and then it cycles through all 6 images.
    Is there anyway to automatically include new images added to the folder after the step has been created?
    Thanks.
    CVI 2010
    LabVIEW 2011 SP1
    Vision Builder AI 2011 SP1

    Here's a sample inspection and VI to illustrate how you could do this. I used an image variable and passed this into the Run LV step so the VI could read the file and update the image variable and then I used the Select Image step to get the image variable into the VBAI script so you can process it. I also added a delete option in the VI so you can delete the previous image when you read the next available image. Make sure to go to the Setup State and initialize the path variable to where your image files will live (to access the Setup State, go to View>>View Complete Inspection and select on the Setup option on the left hand side. I initialized it to c:\Image Folder
    Hope this helps,
    Brad
    Attachments:
    Read Dynamic Image File.zip ‏15 KB

  • Help!!! the app Iphoto is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    I was editing my photos and adding them to a album and suddenly the app is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Adding JTable on an image..............??help need.....edited

    i am using JFame
    on JFrame i hav added JTabbedpane....
    on one of the tab i hav added image on whole background....
    on that tab i hav added JTable....
    but when i add JTable on that tab .....instead of adding table on that image...it add image on background with no image
    that no color part shoud be covered with part of image added on a tab
    and also i want to position (x,y) of JTable on tab.....
    so i hav used gridLayout so that it looks better....but that not i want.....
    here is the code.... check search tab
    //project.java
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.table.*;
    class tdsgui{
    JFrame f,pass;
    JTabbedPane jtp = new JTabbedPane();
    JApplet obj=new JApplet();
    JMenuBar mb=new JMenuBar();
    public tdsgui(){
    f=new JFrame("TELEPHONE DIRECTORY SYSTEM");
    JMenu m1=new JMenu("File");
    JMenu m2=new JMenu("About");
    JMenu m3=new JMenu("Help");
    mb.add(m1);
    mb.add(m2);
    mb.add(m3);
    JMenuItem mi1=new JMenuItem("Save");
    JMenuItem mi2=new JMenuItem("Exit");
    JMenuItem mi3=new JMenuItem("save as");
    mi3.setVisible(true);
    m1.add(mi1);
    m1.add(mi3);
    m1.add(mi2);
    public void launch(){
    jtp.addTab(" REGISTRATION ",new registerpanel());
    jtp.addTab(" MODIFY ",new updatepanel());
    jtp.addTab(" SEARCH ", new searchpanel());
    f.add(mb);
    f.setJMenuBar(mb);
    f.add(jtp);
    f.setSize(500,600);
    f.setVisible(true);
    public class project{
    public static void main(String args[]){
    tdsgui next=new tdsgui();
    next.launch();
    class registerpanel extends JPanel{
    public registerpanel(){
    class updatepanel extends JPanel{
    public updatepanel(){
    class searchpanel extends JPanel{
    public searchpanel(){
    Icon icon = new ImageIcon("Sunset.jpg");
    JLabel label = new JLabel(icon);
    add(label);
    this.setLayout(new GridLayout(2,0));
    final String[] colHeads = { "Name", "Phone", "Fax" };
    final String[][] data = {
    { "Gail", "4567", "8675" },
    { "Ken", "7566", "5555" },
    { "Viviane", "5634", "5887" },
    { "Melanie", "7345", "9222" },
    { "Anne", "1237", "3333" },
    { "John", "5656", "3144" }
    // Create the table
    JTable table = new JTable(data, colHeads);
    JTableHeader header = table.getTableHeader();
    table.setRowHeight(20);
    TableColumn column = table.getColumnModel().getColumn(0);
    table.setCellSelectionEnabled(true);
    table.getTableHeader().setPreferredSize(new Dimension(0,30));
    table.setFont(new Font("Dialog", Font.BOLD, 15));
    table.setBackground(Color.green);
    header.setFont(new Font("Courier",Font.BOLD,25));
    header.setBackground(Color.yellow);
    //label.add(table,BorderLayout.CENTER);
    // Add table to a scroll pane
    int v = ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    int h = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    JScrollPane jsp = new JScrollPane(table, v, h);
    // Add scroll pane to the content pane
    this.add(jsp, BorderLayout.SOUTH);
    add image i ur system....make changes on searchpanel class
    thanks in advance...

    on one of the tab i hav added image on whole background....no you haven't - you've added a JLabel to a GridLayout JPanel
    I have no idea what you're really trying to do, but here's a tab with image background and transparent table (except for the header)
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.table.*;
    class tdsgui{
    JFrame f;
    JTabbedPane jtp = new JTabbedPane();
    public tdsgui(){
    f=new JFrame("TELEPHONE DIRECTORY SYSTEM");
    public void launch(){
    jtp.addTab(" REGISTRATION ",new registerpanel());
    jtp.addTab(" MODIFY ",new updatepanel());
    jtp.addTab(" SEARCH ", new searchpanel());
    f.add(jtp);
    f.setSize(500,600);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.setVisible(true);
    class project{
    public static void main(String args[]){
    tdsgui next=new tdsgui();
    next.launch();
    class registerpanel extends JPanel{
    public registerpanel(){
    class updatepanel extends JPanel{
    public updatepanel(){
    class searchpanel extends JPanel{
    Image img;
    public searchpanel(){
    try{img = javax.imageio.ImageIO.read(new java.net.URL(getClass().getResource("Test.gif"), "Test.gif"));}
    catch(Exception e){}//do nothing - handled in paintComponent
    this.setLayout(new GridLayout(2,0));
    final String[] colHeads = { "Name", "Phone", "Fax" };
    final String[][] data = {
    { "Gail", "4567", "8675" },
    { "Ken", "7566", "5555" },
    { "Viviane", "5634", "5887" },
    { "Melanie", "7345", "9222" },
    { "Anne", "1237", "3333" },
    { "John", "5656", "3144" }
    JTable table = new JTable(data, colHeads);
    table.setOpaque(false);
    table.setBackground(new Color(0,0,0,0));
    JScrollPane jsp = new JScrollPane(table);
    jsp.setOpaque(false);
    jsp.getViewport().setOpaque(false);
    this.add(jsp);
    public void paintComponent(Graphics g){
    super.paintComponent(g);
    if(img != null) g.drawImage(img,0,0,this.getWidth(), this.getHeight(),this);
    }

  • Adding JTable on an image..............??help need

    i am using JFame
    on JFrame i hav added JTabbedpane....
    on one of the tab i hav added image on whole background....
    on that tab i hav added JTable....
    but when i add JTable on that tab .....instead of adding table on that image...it add image on background with no image
    that no color part shoud be covered with part of image added on a tab
    and also i want to position (x,y) of JTable on tab.....
    so i hav used gridLayout so that it looks better....but that not i want.....
    here is the code.... check search tab
    //project.java
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.table.*;
    class tdsgui{
    JFrame f,pass;
    JTabbedPane jtp = new JTabbedPane();
    JApplet obj=new JApplet();
    JMenuBar mb=new JMenuBar();
    public tdsgui(){
    f=new JFrame("TELEPHONE DIRECTORY SYSTEM");
    JMenu m1=new JMenu("File");
    JMenu m2=new JMenu("About");
    JMenu m3=new JMenu("Help");
    mb.add(m1);
    mb.add(m2);
    mb.add(m3);
    JMenuItem mi1=new JMenuItem("Save");
    JMenuItem mi2=new JMenuItem("Exit");
    JMenuItem mi3=new JMenuItem("save as");
    mi3.setVisible(true);
    m1.add(mi1);
    m1.add(mi3);      
    m1.add(mi2);
    public void launch(){
    jtp.addTab(" REGISTRATION ",new registerpanel());
    jtp.addTab(" MODIFY ",new updatepanel());
    jtp.addTab(" SEARCH ", new searchpanel());
    f.add(mb);
    f.setJMenuBar(mb);
    f.add(jtp);
    f.setSize(500,600);
    f.setVisible(true);
    public class project{
    public static void main(String args[]){
    tdsgui next=new tdsgui();
    next.launch();
    class registerpanel extends JPanel{
    public registerpanel(){
    class updatepanel extends JPanel{
    public updatepanel(){
    class searchpanel extends JPanel{
    public searchpanel(){
    Icon icon = new ImageIcon("Sunset.jpg");
         JLabel label = new JLabel(icon);
    add(label);
    this.setLayout(new GridLayout(2,0));
    final String[] colHeads = { "Name", "Phone", "Fax" };
    final String[][] data = {
    { "Gail", "4567", "8675" },
    { "Ken", "7566", "5555" },
    { "Viviane", "5634", "5887" },
    { "Melanie", "7345", "9222" },
    { "Anne", "1237", "3333" },
    { "John", "5656", "3144" }
    // Create the table
    JTable table = new JTable(data, colHeads);
    JTableHeader header = table.getTableHeader();
    table.setRowHeight(20);
    TableColumn column = table.getColumnModel().getColumn(0);
    table.setCellSelectionEnabled(true);
    table.getTableHeader().setPreferredSize(new Dimension(0,30));
    table.setFont(new Font("Dialog", Font.BOLD, 15));
    table.setBackground(Color.green);
    header.setFont(new Font("Courier",Font.BOLD,25));
    header.setBackground(Color.yellow);
    //label.add(table,BorderLayout.CENTER);
    // Add table to a scroll pane
    int v = ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    int h = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    JScrollPane jsp = new JScrollPane(table, v, h);
    // Add scroll pane to the content pane
    this.add(jsp, BorderLayout.SOUTH);
    add image i ur system....make changes on searchpanel class
    thanks in advance...

    as was mentioned in your previous post, please use code tags when posting code here. Your current code is unformatted making it difficult to read. Also, when doing this, make sure that the pasted code has proper indentation before you use the code tags.
    To do this, you will need to paste already formatted code into the forum, highlight this code, and then press the "code" button at the top of the forum Message editor prior to posting the message. You may want to click on the Preview tab to make sure that your code is formatted correctly. Another way is to place the tag &#91;code] at the top of your block of code and the tag &#91;/code] at the bottom, like so:
    &#91;code]
      // your code block goes here.
      // note the differences between the tag at the top vs the bottom.
    &#91;/code]

  • IE not loading all images in a page with large no: of images(~ 300+ images)

    I have a webpage which is trying to render more than 300 images, but IE is not rendering all the images. I have detailed the exact scenario below.
    I have a aspx page with a asp:Panel. I'm adding new aspx pages to this panel,
    Image image = new Image();
    StringBuilder url = new StringBuilder();
    url.Append(string.Format("ImageDisplay.aspx?Sample={0}", 1));
    image.ImageUrl = url.ToString();
    HtmlGenericControl div = new HtmlGenericControl("div");
    div.Controls.Add(image);
    this.pnlImages.Controls.Add(div);
    the second aspx page writes the image to the response,
    Response.Clear();
    Response.BufferOutput = true;
    string fileName = "..\\Sample.jpeg";
    Bitmap image = new Bitmap(fileName);
    image.Save(Response.OutputStream, ImageFormat.Jpeg);
    image.Dispose();
    Response.Flush();
    likewise I'm adding more than 300 images.
    IE is not rendering all the images properly, most of the images are getting broken and shows as 'X' sign. While the same page loads perfectly fine in Firefox and Chrome. I'm not able to find the cause of the issue since it only happens in IE. Could someone
    please help me with this.

    Hi,
    Please post to an asp.net forum....if possible include a link to your website with your question.
    this forum is for questions about IEAK and GPO for system administrators of domain networks....
    tip... use response.end I/o response flush....
    view... the page-source from IE (View-source) or use the Find tool on the IE Developer tool to inspect the scr value of img tags and the base href value (if used)...
    the optimal load time for web pages is considered to be 3 seconds...
    consider reducing the number and size of images, and external stylesheets and libraries on your web pages. (www.webpagetests.org)
    Rob^_^

  • In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    Please don't post the same question multiple times!

  • Adobe Bridge CS3 not opening Photoshop Image Processor

    I selected one, four, and multiple pictures in Bridge to reduce the file size of jpgs. I went to Tools > Photoshop > Image Processor. Nothing happened. Photoshop did not open. That got me to thinking that sometimes while I am in Photoshop Bridge won't open either. Any ideas on resolving issue of "Bridge not opening Photoshop Image Processor" would be greatly appreciated.

    Hello Curt Y, Everything is checked in the "Startup Scripts," including Bridge (twice) and Photoshop (twice). Not sure why duplicate entries but there are.
    If you mean that you have two of the same versions (both CS3) in there that indicates there is something wrong with your install
    If you have any suggestions regarding being able to access the Image Processor to resize pictures and such without first opening Photoshop, I'd greatly appreciate it. If not, the work around will have to suffice.
    My first goal would be to reset the preferences for both PS and Bridge and then try again
    see also this KB document, section preferences reset:
    http://helpx.adobe.com/bridge/kb/troubleshoot-errors-freezes-bridge-windows.html
    And inhere also info on how to retrieve your path for cache to manual delete it.

  • Desktop can not see all images in aperture project

    When trying to change the background picture desktop lists my aperture projects but only displays a subset (5 of 114) of the images in one project. Also have 2 of 8, 152 of 152, and 0 of 12 in different projects.

    It's possible you don't have Previews for the "missing" images (Aperture shares the Preview, not the full image).
    What happens if you update every image in the Project's Preview?
    To update all the JPEG previews in a project
    In the Library inspector, Control-click the project whose JPEG previews you want to update, then choose Update Previews from the shortcut menu.

  • Aperture 3 project does not display any images in one Project

    This is a strange situation.  The bullets below outline the situation:
    The project does not display any images
    When I place the pointer over the project it shows there are 500+ images
    I have located the RAW images stored in my aperture library
    I can pull up the images using a smart folder and searching for photos taken on the event day
    This is happening only to one of my projects that I know of (weird!!)
    I have tried to 're-add' the image by both importing and dragging and dropping into the project, neither works
    I tried the following basics:
    Fixed permissions
    Rebuilt the database
    Tried to re-import the data, but when I have the 'don't import duplicates' these are not an option
    Found the images in my Aperture library
    I created another project and drug all of the images into that project
    Any idea how I can fix this?
    My fear is that if I delete the original project, the original master images will be deleted.

    The most common cause of this is some sort of stuff in the search box at the top of the browser that you don't expect to be there. Just clear it and all your images should show up.
    RB
    One note - if you drug your images from one project to another it moves them vs copies them unless you hold down the option key.

  • Can not connect to Image Browser

    Can not connect to Image Browser. Try to open again but no results.

    Hi garyrandall,
    I'm sorry to hear of the difficulty you've encountered with the transfer of images from your Canon camera.
    Please reply with the Camera model you're using and the operating system on your computer.
    Please include any error messages you receive.
    We look forward to hearing from you!
    Richard
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

Maybe you are looking for

  • Mail Crashing

    I bought an original iPhone on day 1. It has worked very well, I was also able to get my email. In fact I never had any applications crash on me. I also bought a 3G iPhone a few weeks after they came out. Email has never been the same. I hoped that 2

  • Itunes 11.4 will not sync any music

    Itunes 11.4 will not sync any music to iPad 2 mini or iPhone 3GS after upgrade. I have tried a full restore and hard resets on the iPhone. I have tried multiple combinations of checking and unchecking the boxed related to transfers and automatic sync

  • Differance between microsoft sql 7 server and oracle 8

    can anybody give me the exact technical differances between microsoft 7 server and oracle8 server ?

  • Why only once for create recovery media???

    When I created recovery discs for my laptop using HP Recovery Manager, I got the message:   You can only create recovery media once for your system. So ensure that you keep it in a safe place why only once?? what is the problem with creating the same

  • What is the normal upload and download speed of a mac book pro?

    im curious because my mac book pro has been quite slow and its not old or anything wrong with it.