Help...Image problem

Hi.
I have something like this:
import java.awt.*;
import java.awt.event.*;
public class viewerS extends Frame
Toolbar toolbar;
Canvas cv = new Canvas();
BorderLayout layout = new BorderLayout();
public viewerS ()
this.setSize(240,320);
this.setLayout(layout);
Toolkit toolkit = Toolkit.getDefaultToolkit();
Image img = toolkit.getImage("documentbar24.jpg");
Toolbar toolbar = new Toolbar(img);
this.add(toolbar, BorderLayout.NORTH);
this.add(cv, BorderLayout.CENTER);
public static void main(String args[])
viewerS viewer = new viewerS();
viewer.show();
the problem is that the space allocated for the toolbar is short and i only can see half image(documentbar24.jpg).
What should i do to see the whole image?
Thanks.

here it is:
import java.awt.*;
import java.awt.image.*;
import java.io.*;
import java.util.*;
public class Toolbar extends Panel
     final static int NUM_AREAS = 240/24;
     final static int A = 0;
     final static int B = 1;
     final static int C = 2;
     final static int D = 3;
     final static int E = 4;
     final static int F = 5;
     Rectangle areas[];
     Image imageSource;
public Toolbar(Image img)
     setSize(new Dimension(240,40));     
     setBounds(new Rectangle(0,0,240,40));
     setBackground(Color.lightGray);
System.out.println(NUM_AREAS);
areas = new Rectangle[NUM_AREAS];
Rectangle r = new Rectangle(0,0,24,18);
for(int i=0; i < NUM_AREAS; i++)
areas= new Rectangle(r);
r.x += 24; // width of the button
this.imageSource = img;
validate();
public void paint(Graphics g)
     //System.out.println(areas[0].toString());
     Color red = Color.red;
     Color green = Color.green;
     Color blue = Color.blue;
     for(int i=0; i < NUM_AREAS; i++)
          Rectangle r = areas[i];
          g.setColor(new Color(25*i,0,0));
          g.fillRect(r.x,r.y,r.width,r.height);
     g.drawImage(imageSource,0,0,240,20,this);
     //g.setColor(new Color(255,0,0));
     //for(int i=0; i < NUM_AREAS; i++)
     //areas[i]= new Rectangle(r);
     //r.x += 40;
          //g.fillRect(0,0,240,10);
          //g.fillRect(
public boolean mouseUp(Event evt, int x, int y)
     for (int i = 0; i < NUM_AREAS; i++)
if (areas[i].inside(x, y))
command(i);
break;
return true;
void command(int code)
switch(code)
case A:
     System.out.println("Area" + A);
//app.link();
break;
case B:
     System.out.println("Area" + B);
//app.move();
break;
case C:
     System.out.println("Area" + C);
//panel.zoomOut();
break;
case D:
     System.out.println("Area" + D);
//panel.zoomIn();
break;
case E:
     System.out.println("Area" + E);
//panel.origView();
break;

Similar Messages

  • Please help-image problem (display)

    Can someone please help with this?
    I keep receiving an error (below) while trying to execute the code...
    2001-07-19 11:55:02 - Ctx( /dev ): IOException in: R( /dev + /servlet/getImage + null) Connection reset by peer: socket write error
    My setup is Tomcat 3.2
    JDBC: Oracle's classes12.zip
    JDK: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
    Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
    I have copied my simple code below for review:
    package lmmfcd.images;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.sql.*;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import org.apache.jasper.runtime.*;
    import java.beans.*;
    import org.apache.jasper.JasperException;
    public class getImages extends HttpServlet
         public void doGet(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException
              //Grabs and assigns the PageContext
                   JspFactory _jspxFactory = null;
                   PageContext pageContext = null;
                   Object page = this;
                   _jspxFactory = JspFactory.getDefaultFactory();
                   pageContext = _jspxFactory.getPageContext(this, request, response,
                        "", true, 8192, true);
              //End of the PageContext Stuff
              Connection conn = (Connection)pageContext.findAttribute("conn");
                   try
                        ResultSet rset = null;
                        String queryCmd =
                                  "SELECT     image "+
                                  "FROM          sgps.images "+
                                  "WHERE          pn = '13507028' "+
                                  " AND          pic_num = '1' ";
                        Statement stmt = conn.createStatement();
                        rset = stmt.executeQuery(queryCmd);
                        rset.next();
                        Blob blob = null;
                        blob = rset.getBlob("image");
                        response.setContentType("image/jpeg");
                        byte[] ba = blob.getBytes(1, (int)blob.length());
                        System.out.println("just above OutputStream");
                        response.getOutputStream().write(ba, 0, ba.length);
                        response.getOutputStream().flush();
                        response.getOutputStream().close();                    
                   catch(SQLException e)
                        throw new ServletException("Problem");
    }

    It compiled okay, but still displayed the broken image as the result....
              if (rset != null)
                   try
                        BLOB blob = null;
                        blob = (BLOB)rset.getObject("image");
                        response.setContentType("image/jpeg");
                        InputStream in = rset.getBinaryStream("image");
                        //Have also used:
                        //InputStream in = blob.getBinaryStream();
                        OutputStream out = response.getOutputStream();
                        byte b;
                        while ((b = (byte)in.read()) != 1)
                             out.write(b);
                        in.close();
                        out.flush();
                        out.close();
                   catch(SQLException e)
                        throw new ServletException("Problem");
              }

  • Image problem in V4.0

    Hi,
    Previously I had lots of problems with showing a BLOB image from a table
    in a report using the apex_util.get_blob_file_src function.
    Varad put me right on several ocassions: see the thread at
    Confusion with get_blob_file_src
    Eventually everything went well, and I got my images of a specific size on the screen.
    In the last month or two, the host database that I rent went up from version ten to version
    eleven, and the apex version changed too from 3.2.1 to some version of 4.
    I've only now discovered that the images don't display any more. I've re-read the thread
    mentioned above but can see no deviation from Varad's sterling advice. It still doesn't work,
    so my current guess is that something has changed when Apex went to its new version.
    Can anyone point me in the right direction regarding Image problems in version 4 ?
    I guess I'm not the first to experience such issues, and a checklist of things to try would
    be most welcome.
    I've done a View->Source on the page that doesn't work, and the issue with a missing value
    for the "d=" parameter on the apex_util.get_blob_file seems to have recurred:
    src="apex_util.get_blob_file?a=130&s=1718106956127950&p=13&d=&i=25615931827270369&p_pk1=5&p_pk2=&p_ck=947078FC54BB5126E7E0D19F8A24C416"
    Suggestions welcomed please; thankyou in advance.
    Mungo

    Hi Folks,
    I've found a solution to my "image" problem that caused this thread, hence the decent thing is to
    post it here.
    I read various other threads and stumbled across:
    PDF viewing with  apex_util.get_blob_file_src not working with 4.0
    PDF viewing with  apex_util.get_blob_file_src not working with 4.0 &# 4404695
    That thread mentioned the requirement for an "Automated Row FETCH" process as well as having
    an "Automated Row PROCESSING" process too.
    I had the latter, but didn't have the former, so throwing caution to the wind I tried adding a dummy
    Automated Row Fetch process and the damn thing worked!
    Haven't got a clue why on earth either of these are requirements on a page that is selecting data
    from the database - I don't understand where such processes are called in the big scheme of things.
    That's just me baiting some kind soul to spell out the fundamentals for this idiot... please?
    Happy to be corrected on any points.
    Regards until the next crisis...
    Mungo :-)
    P.S. How come there is no reasonable way to get the URL of a single post in a thread - I'd like to give
    reference to the single post that helped me, but all I seem to be able to get is the whole blooming thread.
    Suggestions?
    Edited by: MungoHenning on Sep 15, 2010 1:39 PM

  • Strange short-term persistent image problem

    Hello,
    I'm well aware of the typical image persistence problem, where an image can stay "burned in" after the monitor displays the same thing for hours on end.
    I have a much shorter-term persistent image problem. Let's say I open a web-page, leave it open for 10 seconds and then open a new window in Safari (thus getting a pure white page). Well when that happens, the previous web-page is still shadowed on the new white.
    30 seconds later it has faded, but then the same thing will happen again with anything else that's displayed.
    Any ideas?
    thanks
    Loa

    Huh, now I'm really stumped. The cyan border is also present in FCE once I render, but it doesn't seem to happen for each instance when the paper image is used. Did you import the paper image as a .gif or something else? And did you add any filters to it? Did you also add any effects? The only I'm using with the paper image is the page peel and I have not tried any other effects to see if the cyan effect comes up.
    I've put a screen capture of my FCE project showing the cyan border present in the canvas as my movie is playing. Its on my idisk as FCE movie problem.tiff
    http://idisk.mac.com/gindacu-Public?view=web
    Thanks again for the help.

  • Video image problem

    Hi...A neighbor has a iMac G5 and has developed a video/image problem. The iMac boots up and sometimes shows an ok screen for a little time, sometimes not. What emerges is an array of digital black on white graphic line images (maybe I should upload a picture), but makes the screen virtually impossible to see what you want to view, thus rendering the computer useless.Any thoughts as to what this is, seems like a hardware vs, software issues, but can't say for sure. What might it be: video card, other hardware on or attached to the logic board..and mostly could it be repaired (by self or reasonable). Any and all thoughts or experience welcome as I've been no help to my good neighbor friend on this one:)..Rick

    me 2 it's clear .. the new firm has poor quality than the original one...sadly .. my n93i now has quality like n70 help!!!!!!!!!!!!!!!!!!!!!

  • Macbook pro retina with ghost image problem

    Can i claim my retina display that have ghost image problem?

    Hi there, I had the same problem with my Macbook Pro 15`` Retina. And here is how you can find out if you have ghost image problem. There are two retina display manufacturers for Macbook Pro Retina`s LG and Samsung. And if you are luck you will have the Samsung Retina Display on your mac. Here is how you can find the manufacturer for you Macbook.
    Go to your Applications folder and launch Terminal. Paste in the following and hit return:
    ioreg -lw0 | grep "EDID" | sed "/[^<]*</s///" | xxd -p -r | strings -6
    Look at the beginning of the second line to see which manufacturer made your display. If it starts with LP then you have an LG display. Samsung displays start with LSN.
    If your display shows LP you might have this problem for sure. So here is how you can test your screen.
    A simple test to check your Retina MacBook Pro display for image retention also reported as "ghosting"
    http://www.mitchmalone.name/retina-test/
    Run the test for 10 Min. and you will find out if you have this problem.
    And if you have it, and if you are still under waranty the Apple will replace the display with Samsung for free of charge. I hope this information helps.

  • Broken help images

    I have had a recurring problem with RoboHelp for Word 6.
    Whenever I have to work on a help project that I havent' looked at
    in a while, I make my edits and then try to compile (to Web help).
    I will get a silent compile failure - the status window says
    'Starting compilation...' and the window title says 'WebHelp has
    been generated'. No help files are generated. I have learned from
    experience (and possibly from this forum) that what this means is
    that a help image 'object' has become corrupt and ends up as a Word
    image rather than a RH help image. I have to go through each module
    (all 28 of them) and switch from Dynamic WYSIWYG to TrueCode. I
    started to save the files in TrueCode mode, so that means I have to
    convert to WYSIWYG and then convert again to TrueCode. Then I have
    to search (visually) for any images that didn't get converted,
    delete the image, and re-insert it the RH way. I have noticed that
    It is usually one particular image btnChoices.bmp - just an image
    of a small button with 3 periods (to simulate an ellipsis - we use
    it to show a list of choices that can be entered into a field). So,
    a 15 edit ends up taking a day or so trying to get it to compile.
    Well it finally happened - I have a file that doesn't get
    fixed when I do that. I have it down to:
    1. delete the image
    2. re-insert the image
    3. convert to WYSIWYG
    4. convert to TrueType
    5. The conversion fails on the image I just added
    I tried re-capturing the image and giving it a different name
    - no luck.
    Has any one else had this problem? Did Adobe correct it in
    version 7?
    Phil

    Updating to RoboHelp 7 didn't help.
    I ended up making a new project and importing all the .doc
    files into it. I found one place that had a compiler tag that
    didn't make sense. I removed the tag. Anyway I got it to work -
    still don't know for sure what was wrong. A better message would
    sure help - or a log file to see how far it got.
    Phil

  • Error-1074396120 Not an image, problem with IMAQ Learn multiple geometric patterns

    Error-1074396120 Not an image, problem with IMAQ Learn multiple geometric patterns
    Hi!
    I've tried to modify the example of  "multiple geometric patterns matching" , and just use two patterns, but when I run the VI this error appear and I doon't know how to solve it! , the error appears in the "IMAQ Learn multiple geometric patterns" block.
    Running on:
    - labview 32 bits
    - windows 7 64 bits
    - usb camera 2.0
    Any sugestion would be helpful..... !  Regards
    Attachments:
    template_12.png ‏150 KB
    template_11.png ‏123 KB
    vision_multiple_pattern_matching.vi ‏127 KB

    thanks all for your replies, the problem was on my template images, I had to give them information about the pattern matching, and I did it with NI Vision Template Editor, within Vision utilities, and I chose template with Feature Based. 
    Thank you again and Regards!

  • I downloaded my sons ipod 4g to the new iOS and now when we try to sync it says we have no space, but there is nothing but a few apps on his ipod.  I've tried to reset but that didn't help the problem.  What can I do?

    I downloaded my sons ipod 5g with the latest iOS and now when we try to sync it says we have no space, but there is nothing but a few apps on his ipod and he has plenty of space.  The messege says that most of is space is taken up by video but there is no video or music on his ipod right now.  I've tried to reset his ipod but that did not help the problem. What can I do?

    Did you try to set it up again as new device?
    How to back up your data and set up as a new device

  • TS4040 I assumed this would help my problem with not being able to open apps like Preview or TextEdit since I installed Mountain Lion. Instead, first I'm prompted to enter a password, then once I do that, I get an error box telling me the Library needs re

    I assumed this would help my problem with not being able to open apps like Preview or TextEdit since I installed Mountain Lion. Instead, first I'm prompted to enter a password, then once I do that, I get an error box telling me the Library needs repairing. So I click on Repair, and once again I'm prompted for a password, which I enter, then the same error box opens, and so it goes. Can anyone help me with this problem? I'd greatly appreciate it.
    Thor

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -Rh $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Step 1 should give you usable permissions in your home folder. This step will restore special attributes set by OS X on some user folders to protect them from unintended deletion or renaming. You can skip this step if you don't consider that protection to be necessary, and if everything is working as expected after step 1.
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • I have not been able to open up Lightroom on my computer for over a year now. Whenever I double click on it, this comes up - can anyone help? Problem signature:   Problem Event Name:APPCRASH   Application Name:lightroom.exe   Application Version:3.4.1.10

    I have not been able to open up Lightroom on my computer for over a year now. Whenever I double click on it, this comes up - can anyone help? Problem signature:   Problem Event Name:APPCRASH   Application Name:lightroom.exe   Application Version:3.4.1.10

    First thing to try is the latest version of Lightroom (currently 5.6). If it don't crash, then problem solved - upgrade.
    If Lr5 won't run on your machine, then Lr4 instead.
    If both Lr5 and Lr4 crash on your machine, then at least you know it's a not a Lightroom version problem but something wonked in your system.
    If you can't figure out how to resolve the crash on the system you have, then it's time for a new system (or try another converter/editor app).
    PS - A few things to try:
    * After re-installing new version, if that doesn't fix it, then get rid of all Lightroom-related data files (rename them so they can be restored), in case problem is in Lr data file.
    * Remove all non-essential hardware in case problem is hardware/driver.
    * Startup up machine with minimal software services.
    * If still no go, consider updating driver software, including mainboard drivers and/or bios firmware if need be.
    * Of course run all the system hardware and software diagnostics you can - problem could be failing disk or ram..
    * Check system event logs for any clues.
    If you don't know how to do some of these things - ask.
    Do not say "you've tried everything" unless you want a lecture - there is most definitely something you haven't tried. It's like when you can't find your car keys - you haven't looked everywhere -  there is somewhere you haven't looked!
    PS - Has Lightroom EVER worked on your machine? what's changed since then..
    Good luck,
    Rob

  • Google browser and others show all web page on netbook but firefox wont i have to scrool why can i change settings on firefos to help this problem

    all other web browsers when i use on my net book show full web page but with Firefox i have to scroll side ways cant see full width of page sometimes Firefox will show full page but this is not often are the settings in Firefox to help this problem i have the latest version of Firefox 4.0.1

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • Photosmart D110 All-In-One Printer - Shadow image problem

    I have been having a problem with this printer, ever since we purchased it about 2 months ago, where it will print a shadow image of text or pictures on some documets but not others. It is specific and consistent in that it will print this shadow image on some documents every time and on other documents none of the time. I have a PC and a Mac and it doesn't matter which computer I use, only which document. Sometimes it is only a part of a document, like the computer generated part of an email where it says " this person at this time on this date wrote.." but the other text will be fine. It happens on some coloring pages but not others. I spent  2 hours on the support line yesterday; it's still doing it. She had me unplug it, take off the printer software and reinstall it, update software (on my Mac)  and it did not fix it.  Any ideas on what may be causing this & how to fix it? I like the printer but am about to return it because of this problem.  The printer we had been using was an HP C4280 and did not have this problem. I'd like to keep the printer if I can fix this problem.

    I'm having the same shadow imaging problem on my Deskjet F4580, so if anyone knows how to correct it please post.. I've reinstalled/updated the driver, disabled advanced features, and deslected "Enable HP Real Life Technoliges".

  • Persistent Image problem

    Okay, I just had the screen on this iMac replaced because of this problem with a dark line at the top of the screen. The screen has been replaced, and the dark line isn't there anymore. However, I am now having persistent image problems. This is noticeable when I use the Aurora desktop. If I have a window open (e.g. Safari) for a long enough time, and then I X out of it, I will see a shadow/ghost of it. It's most noticeable with a dark background. However, I DID change some of the settings in "Appearance," so I wonder if that might have done it. But I can't see a way to change everything back to default. Do you know if there's a way?

    Hi again - a couple of ideas:
    If you haven't printed the images or a while, it could be that you prepared them under a previous version of the Aperture raw and they've since been reprocessed, resulting in a slightly different look
    I had an occasion about 12 months ago when an update to the Epson printer drivers caused me to have to go back and change my print setups in Aperture, due to new colour interpretations.  Don't know why, but it happened... maybe your settings have changed since last printing?
    Could be that you did or didn't have the appropriate soft-proofing turned on - are you using this feature?

  • Someone who can say how to get Adpbe flash player version 11.2.202.197 to work together with Lion on mac mini. Support from Apple can obviously not help the problem and do not care if it works

    Someone who can say how to get Adpbe flash player version 11.2.202.197 to work together with Lion on mac mini. Support from Apple can obviously not help the problem and do not care if it works

    Adobe flash player version 11.2.202.197 is for Windows Vista / Windows 7 / Vista 64 / Windows 7 64
    Adobe Flash Player version 11.1.102.55 is the current version for Snow Leopard and Lion.
    Adobe - Install Adobe Flash Player

  • Passwords and images problem

    Firefox image problem. In Firefox 3.6.12, every time I save an image that's already displayed on my screen, I see "one active download" appear in the bottom right of Firefox's window and the same image is also listed in downloads. The problem is that Firefox doing that uses more bandwidth. How do I set Firefox so that when I save an image, instead of that image getting re-downloaded from where it's stored on the internet, it's copied from wherever Firefox has it stored to display it so Firefox doesn't use as much bandwidth? Tools/options/advanced/network/offline storage is set to 50mb.
    Firefox password problem. Tools/options/security/passwords has "remember passwords for sites" checked and there is nothing in my exceptions list. But Firefox keeps forgetting passwords, usually after restarting Firefox and or my whole system and on some sites, I don't even get asked "do you want to remember..." How do I fix this?
    I do have CCleaner and it's set to run at startup, but all the boxes for Firefox are unchecked, so it's not the cause of either problem.

    @cor-el
    OK, I'll give that extension a try and see what happens, thanx! :-)
    @venemovil
    I right click and either select "save image as" or if I want to save an image to more than one location, I select "view image" and then use ctrl+s. Both results in Firefox re-downloading the image as I described above. It happens on every site I visit.
    The password problem never happened before, but I will try disabling my extensions one at a time and see if it happens only whan a particular extension is turned on.
    This is a screenshot of the extensions I do have installed.
    http://i273.photobucket.com/albums/jj216/Moonbarker/Clipboard01.jpg
    I've also noticed that Firefox is forgetting what sites I've visited recently (I type in part of the url of sites I've visited sometimes as recently as a few hours ago and the entire url isn't in the suggested list) and I keep having to put the Fire FTP Button back in the toolbar (next to the home/stop/reload/back-forward buttons). That may be related to the pasword problem. I don't know.

Maybe you are looking for

  • Can I stream from my apple tv to another apple device?

    My TV speakers are bad...really bad.  I use a Bose Sound Dock to listen to music with my ipod and iphone but I would love to use it as sound from my tv.  Due the the Sound Dock only having aux in v. sereo in, I think my only option is to stream to th

  • Getting files into organizer

    I'm using PSE7 with Windows 7 professional. I can't use the control click or the shift click to get multiple files from a folder into the organizer. I have to bring each file in individually. Patt

  • Sub-tempalte based on data source

    I've followed this blog; http://www.adivaconsulting.com/adiva-blog/item/36-working-with-rtf-sub-templates.html The AC_Heard or AC_Footer is not based on any data source, sub-template can be based on a data source? I want to pull data from database an

  • How to check null condition on a Object.......

    Hi I have created a JTable and Iam retrieving the data from the Jtable as an Object. Object s=table.getValueAt(i,j) if(s!=null)         dosomething(); }But the if loop is continuing even if there is a null value in the table.Where am I going wrong?

  • SSDT Schema Compare puts objects in the root of project instead of the correct schema

    Hello, Since last week I encountered a problem when synchronizing my database project with a database. When I try to sync new objects (tables / sp's / views) the *.sql scripts are put in the root of my project directory instead of the directory with