Help needed on convert JTable to Image

Hi, all
I have made an application that can output a JTable with different colours in its every cells. Now I want to select the whole Table and put it as an Image to one of the Image Viewer Softwares(e.g. windows picture viewer).
Is there anyone knows how to do that?
Thanks in advance!
Regards,
swat.

Now I want to select the whole Table and put it as an
Image to one of the Image Viewer Softwares(e.g.
windows picture viewer). If you don't have to do it programmatically, and you are working on windows, select the window with the table, Alt-PrtScr will copy just that window into the clipboard, and you can paste it into many different apps, including image views, word, so on.

Similar Messages

  • Need to convert byte[] to image

    hi frnds,
    i have a byte[](which i got it from an image) i need to convert back to image.Could u pls suggest me how to??
    i tried with Pixelgrabber but i exaclty did get wht shld be the input for it(tried giving image file name). :(
    So pls let me know how and wht to use..ASAP.
    Regards
    subinjava

    Subinjava wrote:
    ..i have a byte[](which i got it from an image) i need to convert back to image.Could u pls suggest me how to??
    Image image = Toolkit.getDefaultToolkit().createImage(byteArray)See http://java.sun.com/javase/6/docs/api/java/awt/Toolkit.html#createImage(byte[]) for more details.

  • Help Needed..Fingerprint Identification..Image Manipulation

    Norfolk State University Student (Help Needed):
    I'm working on Fingerprint Identification using image correlation and/or a feature-based approach.  First, Goal is to minimize the lines of the minutia so that they are one pixel thick.  What services does Labview offer that will help me accomplish this task??

    Hey Snakehead...,
    Have you tried improving your original image with better lighting, better camera, better lens, etc.? What image processing have you done already, or are you starting from scratch? I agree with AnalogKid in providing some sample images to the forum so we can get an idea of what you are working with. Have you performed any morphology processing on the image? Have you tried edge detection functions? There are numerous functions that NI provides with their NI Vision software that will help you process your image, it is just finding the right combination that is the toughest part. Last, if you do have the Vision software, I might suggest taking a look at the Vision concepts manual to get an idea of the different functions and their capabilities. Let us know what kind of images you are working with and what you have done so far, and last, what you would like to eventually see. Thanks, and have a great day.
    Regards,
    DJ L.

  • Help Needed with HTML code for Image Positioning

    Hi All,
    Need a little help with some code for positioning images.
    I initially used the following:
    This is fine, but the border automatically puts a black border around the photo - how do I change it to white? Is there a way to set margins too, to prevent the text butting up against the photo?
    I also used the following code with success:
    <style type="text/css"
    img
    float:right;
    border:2px solid white;
    margin: 0px 0px 15px 20px
    </style>
    This code works, however the problem with it is it is not individual to just one photo - it moved all my photos and on that page, I wanted one photo floated to left and another to the right.
    If I use this code, how can I make it photo specific, so that it only affects the placement, margins and borders of one photo?
    Any help would be great.
    Thanks

    CSS question, not iWeb question. Regardless, use inline CSS styling for the image. You can also wrap the image in its own tag and declare an id or simply declare an id for the img tag, then set the style for the id_name:
    <style type="text/css"
    img#id_name
    float:right;
    border:2px solid white;
    margin: 0px 0px 15px 20px
    </style>
    If you want to control the style of more than one image on a page but not all then use a class instead of an id.
    the border automatically puts a black border around the photo - how do I change it to white? Is there a way to set margins too, to prevent the text butting up against the photo?
    I believe you have discovered a solution for this according to your CSS code. You have set the border to white by looking at the code and adjusting it appropriately. Your margin is declared in the CSS also, adjust the pixels appropriately.
    Read up some more on CSS to educate yourself further. I suggest w3schools.com or a CSS forum instead of the iWeb forum if you have CSS questions. It's kind of like if you drive your auto to the supermarket so you decide to go to the supermarket and ask everyone in the produce section to help when you have car problems. All the supermarket does is provide a place to park your auto. If you have car problems then ask a mechanic. iWeb (and most of its users) doesn't specialize in code, it simply provides an area for you to place it. Granted you might get lucky and find a mechanic in the produce section of the supermarket, but you're more likely to find a specialist at an auto swap meet (or CSS coding forum)!

  • Help needed in converting a psd file to php layout

    I have a website Inspire2rise dot com . I recently came across a beautiful PSD file that I wanted to apply to my site's design. My site is based on WordPress. Is there any tool which can help me in converting the psd file to WordPress compatible theme?

    Tools: https://www.google.com/search?client=safari&rls=en&q=psd+to+wordpress&ie=UTF-8&oe=UTF-8
    Tutorials: https://www.google.com/search?client=safari&rls=en&q=psd+to+wordpress+tutorial&ie=UTF-8&oe =UTF-8

  • Help needed in converting Excel from XML file

    Hi Can anyone help me in converting XML in to Excel.
    Thanx,
    Ananth.

    well, that still isn't much to go off of. I give it a try though.
    I guess you want to parse out the relevent data out of the xml file and then decide on your favorite delimated file format for Excel. Two popular formats are comma delimated:
    "info1","info2","info3","info4"
    and tab delimeted:
    info <tab> info2 <tab> info3 <tab> info4
    Excel should be able to unsestand either of these formats.

  • Help needed in converting date to number

    Hi,
    I am trying to execute the below query, its failing with "invalid number" error.
    select * from process_status
    where time_process > to_char('&3','yyyymmdd')
    time_process is the "number" datatype.
    Details:
    SQL> select * from process_status
    2 where time_process > to_char('&3','yyyymmdd');
    Enter value for 3: 01-MAY-09
    old 2: where time_process > to_char('&3','yyyymmdd')
    new 2: where time_process > to_char('01-MAY-09','yyyymmdd')
    where time_process > to_char('01-MAY-09','yyyymmdd')
    ERROR at line 2:
    ORA-01722: invalid number
    If I execute the below query its working fine, I am facing problem only when I pass the date explicitly to the query. Please help me on converting the date to number format.
    select * from etl_process_status
    where time_process > '20090501'
    and rownum < 3;
    Thanks

    as others have said, it would be best to have your time_process column stored as a date in oracle, if it contains dates.
    The reason for this is because if you store your dates as a number, you have removed information from Oracle that says "This is a date", so when Oracle comes to try and estimate the number of rows greater than a specific value, it can no longer guess correctly, since it's basing its guess on that column being a number.
    There are lots more numbers between '20091201' and '20091101' than there are days between 1st November and 1st December.
    By hiding the fact that your data is a date, you could throw your execution plan off and end up with sub-optimal performance.
    In short, store your data in the correct column format!

  • Help needed in  converting ArrayList to ArrayCollection

    I am converting an ArrayList (Java) to ArrayCollection of Flex .
    Please help me in this , i dont know whether this is correct approach or not
    I have a Created a User VO ActionScript class  on flex with two properties as uname , pass .
    [Bindable]       
            var result:ArrayCollection
    private function displayDetails(event:ResultEvent):void
    result = event.result as ArrayCollection;
    <mx:DataGrid  dataProvider="{result}">
                    <mx:columns>
                        <mx:DataGridColumn headerText="UserName" dataField="uname"/>
                        <mx:DataGridColumn headerText="Password" dataField="pass"/>
                    </mx:columns>
                </mx:DataGrid>
    This is from my Java DAO File :
                ResultSet rs = stmt.executeQuery("select NAME , PASS from Users");
                list = new ArrayList();
                while (rs.next()) {
                    User user = new User();
                    user.setUname(rs.getString(1));
                    user.setPass(rs.getString(2));
                    list.add(user);
            return list;
    With the below code ,the displayed DataGrid is empty with no data , please help me where i am doung wrong
    Do i need to do anything more ?? The data is coming well on to the lcds server console .
    Please help .

    Hi Kiran,
    Debugging solves most of the problems that you encounter ......you need to use a lot of debuggung so that you will come to know exactly what's
    happening indeed...
    So just put a break point at your displayDetails(event:ResultEvent):void  function and try to watch the event variable and check the event.result
    What is the datatype of the event.result ...Are you getting any data or is it null..???
    Please make these observations and let me know...
    Thanks,
    Bhasker

  • Please Help - Need to convert 400 gigs of giga samples into my EXS24

    Does anybody know what would be the fastest and most efficient way to convert 400 gigs of giga file samples from my PC into my logic pro EXS24 sampler on my mac?
    I purchased chicken system's translator professional which does batch conversion, but my pc was not working well with that application. I need to find a new way of converting. I know i can convert giga samples one by one in the exs24 but with 400 gigs of giga samples, it could take days and days.
    Any ideas wold be extremely helpful.
    Thank you for your time.
    -Smooth

    CDXtract is gettin' third'ed by me.... However, u r into one heu of a conversion armageddon....
    I recently did a huge convertion of my samplecell II lib into AKAI format...
    My recommendation is to convert on the fly - meaning - convert what u have to convert when u need it.
    And make sure when doing batch convertions that the sample programs u really want to WORK like it did in the GIGA gets special attention... Lots of the conversions done by cdxtract - are indeed converted but attack - decay etc... veries from sampler to sampler although the values are the same

  • Help need to convert hsa prog to an applet

    Hey everybody I have no clue what i am doin im trying to convert a mathquiz program from the hsa console to an applet. ive attached my hsa code:
    import java.awt.*;
    import hsa.Console;
    import java.io.*;
    public class MathQuizhsa
    static Console c; // The output "c" Console.
    public static void main (String[] args)
    c = new Console ();
    char cont;
    String name1, name2, name3;
    //Start Of Loop.
    while (true)
    // Varible declaration
    int scorechart = 0;
    int scorechart1 = 300;
    //Start of score reset
    int score = 0;
    //End of score reset
    // Display Code
    c.clear ();
    c.println ("\t\t\t\tMath Quiz");
    c.println ("\n\tType:");
    c.println ("\t1 for Easy");
    c.println ("\t2 for Medium");
    c.println ("\t3 for Hard");
    c.println ("\t4 for High Scores");
    c.println ("\t5 for HighScore Setup and reset");
    c.println ("\t6 or more to Exit");
    c.print ("\nEnter Choice Here: ");
    int dec = c.readInt ();
    c.clear ();
    // End of Display Code
    // Starting Of Easy code!....................................
    if (dec == 1)
    int count = 1;
    boolean boo = true;
    while (boo)
    if (count <= 10)
    c.println ("MATH QUIZ..... EASY");
    c.setColor (Color.black);
    c.drawRect (400, 100, 20, 200);
    c.setColor (Color.blue);
    c.fillRect (400, scorechart1, 20, scorechart);
    c.setCursor (17, 45);
    c.println ("Your Score Is: " + score);
    int num1;
    num1 = (int) (Math.random () * (15));
    int num2;
    num2 = (int) (Math.random () * (15));
    int total;
    c.setCursor (2, 1);
    c.println ("Equation " + count);
    c.print ("\t" + num1 + " + " + num2 + " = ");
    total = c.readInt ();
    if (total == num1 + num2)
    c.println ("Correct, press any key to continue");
    cont = c.getChar ();
    score++;
    scorechart = scorechart + 20;
    scorechart1 = scorechart1 - 20;
    else
    c.println ("Wrong, press any key to continue");
    cont = c.getChar ();
    c.clear ();
    else if (count > 10)
    boo = false;
    count++;
    c.clear ();
    // End Of Easy Code!.........................................
    // Starting Of Medium code!....................................
    if (dec == 2)
    int count = 1;
    boolean boo = true;
    while (boo)
    if (count <= 10)
    c.setCursor (1, 1);
    c.println ("MATH QUIZ..... MEDIUM");
    c.setColor (Color.black);
    c.drawRect (400, 100, 20, 200);
    c.setColor (Color.blue);
    c.fillRect (400, scorechart1, 20, scorechart);
    c.setCursor (17, 45);
    c.println ("Your Score Is: " + score);
    int num1;
    num1 = (int) (Math.random () * (50));
    int num2;
    num2 = (int) (Math.random () * (50));
    int total;
    c.setCursor (2, 1);
    c.println ("Equation " + count);
    c.print ("\t" + num1 + " + " + num2 + " = ");
    total = c.readInt ();
    if (total == num1 + num2)
    c.println ("Correct, press any key to continue");
    cont = c.getChar ();
    score++;
    scorechart = scorechart + 20;
    scorechart1 = scorechart1 - 20;
    else
    c.println ("Wrong, press any key to continue");
    cont = c.getChar ();
    c.clear ();
    else if (count > 10)
    boo = false;
    count++;
    // End Of Medium Code!.........................................
    // Starting Of Hard code!....................................
    if (dec == 3)
    int count = 1;
    boolean boo = true;
    while (boo)
    if (count <= 10)
    c.setCursor (1, 1);
    c.println ("MATH QUIZ..... HARD");
    c.setColor (Color.black);
    c.drawRect (400, 100, 20, 200);
    c.setColor (Color.blue);
    c.fillRect (400, scorechart1, 20, scorechart);
    c.setCursor (17, 45);
    c.println ("Your Score Is: " + score);
    int num1;
    num1 = (int) (Math.random () * (100));
    int num2;
    num2 = (int) (Math.random () * (100));
    int total;
    c.setCursor (2, 1);
    c.println ("Equation " + count);
    c.print ("\t" + num1 + " + " + num2 + " = ");
    total = c.readInt ();
    if (total == num1 + num2)
    c.println ("Correct, press any key to continue");
    cont = c.getChar ();
    score++;
    scorechart = scorechart + 20;
    scorechart1 = scorechart1 - 20;
    else
    c.println ("Wrong, press any key to continue");
    cont = c.getChar ();
    c.clear ();
    else if (count > 10)
    boo = false;
    count++;
    // End Of Hard Code!.........................................
    // Start of highscore page!..................................
    else if (dec == 4)
    BufferedReader easyhigh1;
    BufferedReader easyhigh2;
    BufferedReader medhigh1;
    BufferedReader medhigh2;
    BufferedReader hardhigh1;
    BufferedReader hardhigh2;
    c.clear ();
    c.println ("\n\t\t\t\tHigh Scores!!");
    try
    //Easy highscore read start............
    String EasyHighnum, EasyHighname;
    easyhigh1 = new BufferedReader (new FileReader ("EasyHighscore.score"));
    EasyHighnum = easyhigh1.readLine ();
    easyhigh2 = new BufferedReader (new FileReader ("EasyName.score"));
    EasyHighname = easyhigh2.readLine ();
    c.println ("\t\t\t Press any key to exit!");
    c.println ("\nEasy High Scores!..");
    c.println ("\n\t" + EasyHighname);
    c.println ("\t\t\t\t\t\t\t\t" + EasyHighnum);
    //Easy highscore read end..............
    //Med highscore read start............
    String MedHighnum, MedHighname;
    medhigh1 = new BufferedReader (new FileReader ("MedHighscore.score"));
    MedHighnum = medhigh1.readLine ();
    medhigh2 = new BufferedReader (new FileReader ("MedName.score"));
    MedHighname = medhigh2.readLine ();
    c.println ("\nMedium High Scores!..");
    c.println ("\n\t" + MedHighname);
    c.println ("\t\t\t\t\t\t\t\t" + MedHighnum);
    //Med highscore read End..............
    //Hard highscore read start............
    String HardHighnum = "";
    String HardHighname = "";
    hardhigh1 = new BufferedReader (new FileReader ("HardHighscore.score"));
    HardHighnum = hardhigh1.readLine ();
    hardhigh2 = new BufferedReader (new FileReader ("HardName.score"));
    HardHighname = hardhigh2.readLine ();
    c.println ("\nHard High Scores!..");
    c.println ("\n\t" + HardHighname);
    c.println ("\t\t\t\t\t\t\t\t" + HardHighnum);
    //Hard highscore read End..............
    char ans = c.getChar ();
    catch (FileNotFoundException e)
    c.println ("\nHighscore files missing! Please run option 5 in main menu");
    c.println ("Press any key to continue");
    cont = c.getChar ();
    return;
    finally
    continue;
    // End of highscore page!....................................
    // Start of highscore setup
    else if (dec == 5)
    try
    //easy file write
    PrintWriter out
    = new PrintWriter (new BufferedWriter (new FileWriter ("EasyHighscore.score")));
    out.print ("0");
    out.close ();
    PrintWriter out2
    = new PrintWriter (new BufferedWriter (new FileWriter ("EasyName.score")));
    out2.print ("NoName");
    out2.close ();
    //med file write
    PrintWriter out3
    = new PrintWriter (new BufferedWriter (new FileWriter ("MedHighscore.score")));
    out3.print ("0");
    out3.close ();
    PrintWriter out4
    = new PrintWriter (new BufferedWriter (new FileWriter ("MedName.score")));
    out4.print ("NoName");
    out4.close ();
    //hard file write
    PrintWriter out5
    = new PrintWriter (new BufferedWriter (new FileWriter ("HardHighscore.score")));
    out5.print ("0");
    out5.close ();
    PrintWriter out6
    = new PrintWriter (new BufferedWriter (new FileWriter ("HardName.score")));
    out6.print ("NoName");
    out6.close ();
    c.print ("Installing.");
    int loadbar = 5;
    for (int ii = 0 ; ii <= 20 ; ii++)
    c.print (".");
    c.setColor (Color.black);
    c.drawRect (5, 20, 205, 18);
    c.setColor (Color.blue);
    c.fillRect (5, 20, loadbar, 18);
    loadbar = loadbar + 10;
    c.setCursor (3, 1);
    c.print ((ii * 5) + "%");
    Thread.sleep (100);
    c.println ("\nYour Highscores are now reset and installed.");
    c.println ("Press any key to continue");
    cont = c.getChar ();
    finally
    continue;
    // End of highscore setup
    // Start Of End Code!........................................
    else if (dec >= 6)
    System.exit (0);
    // Start Of End Code!........................................
    // Score Code................................................
    if (dec >= 1 & dec <= 3)
    c.setColor (Color.black);
    c.drawRect (400, 100, 20, 200);
    c.setColor (Color.blue);
    c.fillRect (400, scorechart1, 20, scorechart);
    if (score == 0)
    c.println ("Wow... That was horrible: " + score + " out of 10!");
    else if (score == 1)
    c.println ("Go Back To Kindergarten: " + score + " out of 10!");
    else if (score == 2)
    c.println ("Pitiful: " + score + " out of 10!");
    else if (score == 3)
    c.println ("You Suck: " + score + " out of 10!");
    else if (score == 4)
    c.println ("Awesome if your six: " + score + " out of 10!");
    else if (score == 5)
    c.println ("Cant complain with a pass: " + score + " out of 10!");
    else if (score == 6)
    c.println ("Barely: " + score + " out of 10!");
    else if (score == 7)
    c.println ("Ill give u a E for effort: " + score + " out of 10!");
    else if (score == 8)
    c.println ("Wow: " + score + " out of 10!");
    else if (score == 9)
    c.println ("Nerd: " + score + " out of 10!");
    else if (score == 10)
    c.println ("Your Score Was Perfect: " + score + " out of 10!");
    c.println ("Press any key to continue");
    c.setCursor (17, 45);
    c.println ("Your Score Is: " + score);
    cont = c.getChar ();
    c.clear ();
    else
    // Score Code................................................
    // Easy High Score Code...........................................
    if (dec == 1)
    BufferedReader file1;
    try
    file1 = new BufferedReader (new FileReader ("EasyHighscore.score"));
    catch (FileNotFoundException e)
    c.println ("No High Score. Please go to option 5 in main menu");
    c.println ("Press any key to continue");
    cont = c.getChar ();
    continue;
    try
    int highscore1 = file1.read ();
    if (highscore1 == 48)
    highscore1 = 0;
    else if (highscore1 == 49)
    highscore1 = 1;
    else if (highscore1 == 50)
    highscore1 = 2;
    else if (highscore1 == 51)
    highscore1 = 3;
    else if (highscore1 == 52)
    highscore1 = 4;
    else if (highscore1 == 53)
    highscore1 = 5;
    else if (highscore1 == 54)
    highscore1 = 6;
    else if (highscore1 == 55)
    highscore1 = 7;
    else if (highscore1 == 56)
    highscore1 = 8;
    else if (highscore1 == 57)
    highscore1 = 9;
    else if (highscore1 == 58)
    highscore1 = 10;
    if (score >= highscore1)
    highscore1 = score;
    c.println ("Congrats! You beat the highscore. <Enter Name> ");
    name1 = c.readLine ();
    try
    PrintWriter out
    = new PrintWriter (new BufferedWriter (new FileWriter ("EasyHighscore.score")));
    out.print (highscore1);
    out.close ();
    PrintWriter out2
    = new PrintWriter (new BufferedWriter (new FileWriter ("EasyName.score")));
    out2.print (name1);
    out2.close ();
    finally
    continue;
    finally
    continue;
    // End Easy High Score Code...........................................
    // Medium High Score Code...........................................
    else if (dec == 2)
    BufferedReader file2;
    try
    file2 = new BufferedReader (new FileReader ("MedHighscore.score"));
    catch (FileNotFoundException e)
    c.println ("No High Score. Please go to option 5 in main menu");
    c.println ("Press any key to continue");
    cont = c.getChar ();
    continue;
    try
    int highscore2 = file2.read ();
    if (highscore2 == 48)
    highscore2 = 0;
    else if (highscore2 == 49)
    highscore2 = 1;
    else if (highscore2 == 50)
    highscore2 = 2;
    else if (highscore2 == 51)
    highscore2 = 3;
    else if (highscore2 == 52)
    highscore2 = 4;
    else if (highscore2 == 53)
    highscore2 = 5;
    else if (highscore2 == 54)
    highscore2 = 6;
    else if (highscore2 == 55)
    highscore2 = 7;
    else if (highscore2 == 56)
    highscore2 = 8;
    else if (highscore2 == 57)
    highscore2 = 9;
    else if (highscore2 == 58)
    highscore2 = 10;
    if (score >= highscore2)
    highscore2 = score;
    c.println ("Congrats! You beat the highscore. <Enter Name> ");
    name2 = c.readLine ();
    try
    PrintWriter out3
    = new PrintWriter (new BufferedWriter (new FileWriter ("MedHighscore.score")));
    out3.print (highscore2);
    out3.close ();
    PrintWriter out4
    = new PrintWriter (new BufferedWriter (new FileWriter ("MedName.score")));
    out4.print (name2);
    out4.close ();
    finally
    continue;
    finally
    continue;
    // End Medium High Score Code...........................................
    // Hard High Score Code...........................................
    else if (dec == 3)
    BufferedReader file3;
    try
    file3 = new BufferedReader (new FileReader ("HardHighscore.score"));
    catch (FileNotFoundException e)
    c.println ("No High Score. Please go to option 5 in main menu");
    c.println ("Press any key to continue");
    cont = c.getChar ();
    continue;
    try
    int highscore3 = file3.read ();
    if (highscore3 == 48)
    highscore3 = 0;
    else if (highscore3 == 49)
    highscore3 = 1;
    else if (highscore3 == 50)
    highscore3 = 2;
    else if (highscore3 == 51)
    highscore3 = 3;
    else if (highscore3 == 52)
    highscore3 = 4;
    else if (highscore3 == 53)
    highscore3 = 5;
    else if (highscore3 == 54)
    highscore3 = 6;
    else if (highscore3 == 55)
    highscore3 = 7;
    else if (highscore3 == 56)
    highscore3 = 8;
    else if (highscore3 == 57)
    highscore3 = 9;
    else if (highscore3 == 58)
    highscore3 = 10;
    if (score >= highscore3)
    highscore3 = score;
    c.println ("Congrats! You beat the highscore. <Enter Name> ");
    name3 = c.readLine ();
    try
    PrintWriter out5
    = new PrintWriter (new BufferedWriter (new FileWriter ("HardHighscore.score")));
    out5.print (highscore3);
    out5.close ();
    PrintWriter out6
    = new PrintWriter (new BufferedWriter (new FileWriter ("HardName.score")));
    out6.print (name3);
    out6.close ();
    finally
    continue;
    finally
    continue;
    // End Hard High Score Code...........................................
    //End Of Loop.
    // Place your program here.
    } // main method
    } // MathQuiz class

    Most of the awt drawing methods are the same; you just need to provide a panel that calls them in its paint() method.
    You also need to add text fields for any inputs, and buttons or a combo box for choosing the skill level.
    You need to store high scores on the server as there is no way for an applet to access a local file.
    The code int highscore1 = file1.read ();
    if (highscore1 == 48)
    ...would better read in a string then use Integer.parseInt() rather than all those character comparisons, or one of the Character.digit() conversions.
    The code that is many versions of if (score == 0)
    c.println ("Wow... That was horrible: " + score + " out of 10!");
    ...can either be replaced with switch/case or an array of strings.
    You'd be better off reducing all the code you don't need before you convert it to an applet, just so there's only half the amount to convert.
    Pete

  • Help needed to convert 4.0 version llb to 6.0 or above

    Can some help me convert the attached old llb (written in LV 4.0) to 6.0 or higher version so I can open it in LV 2012? Thx
    Solved!
    Go to Solution.
    Attachments:
    igorbin4.llb ‏315 KB

    Try posting here:  http://forums.ni.com/t5/Version-Conversion/bd-p/VersionConversion
    Just for reference, here is a chart to help you know the minimum versions required.  Version 6.0+ is correct.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    If someone helped you out, please select their post as the solution and/or give them Kudos!

  • Help needed to create a Background Image

    I have a mobile project and want to create a background image which is visible below some text.
    My firstview file is as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView"
                        skinClass="skins.mySkin" backgroundAlpha="0">
      <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
      </fx:Declarations>
              <s:Label  x="2" y="86" text="Here's some Text" />
    </s:View>
    With mySkin (in the skins folder) as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Skin name="CustomApplicationSkin"
                        xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark">
      <fx:Metadata>
                        <![CDATA[
                        [HostComponent("spark.components.View")]
                        ]]>
      </fx:Metadata>
      <s:states>
                        <s:State name="normal" />
                        <s:State name="disabled" />
      </s:states>
      <s:BitmapImage width="10%" height="10%" source="@Embed('/images/myImage.jpg')"/>
              <s:Group id="contentGroup" width="10%" height="10%" minWidth="0" minHeight="0" />
              <s:ViewNavigator id="navigator" width="10%" height="10%" />
    </s:Skin>
    When I run the project, I cannot see the Label text (although the backgroundAlpha is set to zero).
    First time I've tried a skin, so help would be appreciated and hopefully.
    Thanks in Advance

    A small change to the mySkin file as follws wored:
              <s:BitmapImage width="100%" height="100%" scaleMode="letterbox" horizontalAlign="center"
                     verticalAlign="middle" source="@Embed('/images/myImage.jpg')"/>
              <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0" />
    I took the ViewNavigator line out.

  • Help needed with multiple and seperate image galleries on 1 site

    I'm looking for a simple way to create and manage multiple image galleries (about 100) on a single website. I work for an architect and have a site which has our project portfolio and every project has a page containing a write up with a gallery of only 6 images.  Currently I am using .css to run it. If you hover over one of the 6 thumbnails it opens up a larger image in the same div container. If you move the cursor off the thumbnail the main image goes away leaving a default background. The only problem is my bosses now want each image to be retained in view until you hover over the next thumbnail.
    Any ideas anyone?

    I've never see a performance issue with IsSameObject(), although I understand your issue, it seems to be pretty fast.
    Saving a global reference to a jclass prevents it from being GC'd, I don't think it prevents it from being unloaded.
    I'm not sure I understand your comment about jmethodID's being different for the same method. Technically, the jmethodID is unique for each class image loaded and class loader. So if a class is unloaded and reloaded, or the same class managed to get loaded by two different class loaders, then you might see multiple jmethodID values. But do you know that is happening?
    I have seen some race conditions on the JVMTI event callbacks around Method Entry/Exit and Thread Start/End. If you don't use some rawmonitors to protect yourself, you could be executing your callback code for the methodExit event while the thread goes away out from under you. I don't know if that could be an issue, but it caused me to scratch my head quite a bit when I ran into it.

  • Help needed to convert a dataset

    My cuurent dataset which is extracted using a view
    EID
    P ID
    IS PRIMARY
    HOURS
    1
    ABC
    yes
    200
    2
    DEF
    yes
    200
    3
    GEH
    NO
    40
    4
    IJK
    NO
    40
    5
    MNO
    NO
    50
    Desired output: Which will have the following columns with hours for each pid
    PrimaryID
    pidhrs
    P1
    pid1hrs
    p2
    pid2hrs
    p3
    pid3hrs
    abc
    200
    GEH
    40
    IJK
    40
    MNO
    50
    DEF
    200

    But, as vijays says, what relates the non-primary rows to the primary rows?  Why should GEH belong with ABC and not DEF?
    Assuming it's just grouping them into groups of 3 non-primary's to each primary based on the eid as the order, then you could do something like...
    SQL> ed
    Wrote file afiedt.buf
      1  with t(eid, p_id, isprimary, hours) as
      2        (select 1, 'ABC', 'Y', 200 from dual union all
      3         select 2, 'DEF', 'Y', 200 from dual union all
      4         select 3, 'GEH', 'N', 40 from dual union all
      5         select 4, 'IJK', 'N', 40 from dual union all
      6         select 5, 'MNO', 'N', 50 from dual union all
      7         select 6, 'PQR', 'N', 70 from dual
      8        )
      9  --
    10  -- end of test data, use query below
    11  --
    12      -- seperate out the primary records
    13      ,p as (select eid, p_id, hours
    14                   ,row_number() over (order by eid) as grp
    15             from   t
    16             where  isprimary = 'Y'
    17            )
    18      -- seperate out the secondary records
    19      -- assigning them to groups of 3 in order of their eid
    20      ,s as (select eid, p_id, hours
    21                   ,mod(row_number() over (order by eid)-1,3) as rn
    22                   ,ceil(row_number() over (order by eid)/3) as grp
    23             from   t
    24             where  isprimary = 'N'
    25            )
    26  --
    27  -- recombine the primary and secondary in their groups
    28  --
    29  select p.grp, p.p_id, p.hours
    30        ,max(decode(s.rn,0,s.p_id)) as p1
    31        ,max(decode(s.rn,0,s.hours)) as p1hrs
    32        ,max(decode(s.rn,1,s.p_id)) as p2
    33        ,max(decode(s.rn,1,s.hours)) as p2hrs
    34        ,max(decode(s.rn,2,s.p_id)) as p3
    35        ,max(decode(s.rn,2,s.hours)) as p3hrs
    36  from   p left outer join s on (p.grp = s.grp)
    37  group by p.grp, p.p_id, p.hours
    38* order by p.grp
    SQL> /
           GRP P_I      HOURS P1       P1HRS P2       P2HRS P3       P3HRS
             1 ABC        200 GEH         40 IJK         40 MNO         50
             2 DEF        200 PQR         70
    but that would seem like an odd requirement as I'd expect there to be some known relationship between the data.

  • Help needed in converting Object class

    hi,
    i have an array of type Object. when the user enters values only the string values are been accepted i want the Object[] array to accept int values also what can i do in this regard?
    Thanks.

    hi calvino u r right one last doubt how can i put this comditionally when the user enters values in the following cases?
              for (int a=0; a<enter.length; a++){
                   enter[a] = new Long(a);
              for (int b=0; b<enter.length; b++){
                   enter[b] = new String;

Maybe you are looking for