File Time Stamp

hi,
I have to compare the two file time stamp , one file is on my local machine and the other file is on my web server.
I am using :-
long t= urlC.getLastModified(); // to get the last modified time for a file on my web server.
and for my local file:-
long ut= f.lastModified(); // to get the time for my local file.
I need to compare this two time to know that if i have new file or not. If i have a old file I copy and paste the new file on my machine. The problem is after copy and paste both time should be same since the modified time is same for both file, but i think when i use the f.lastModified() on my local file its giving me the last accessed time rather then modified time and this way even though the file are same after i paste the latest one the time stamp results are different.
Any ideas on this ...........
The goal is to compare a time stamp of one local file with a file on my web server. if my local file is old then user needs to get this new file and replace the old file on his system.
Problem: After replacement, eventhough file is same its timestamp result are different. The modified time is same in the file property, but for some reason a call to f.lastModified()is getting the accessed time which is different since its takes the time when we paste the new file.

On 09/11/2011 22:26, isutton wrote:
> NW 6.5 with latest SP. Mac OS X (Leopard and Snow Leopard). AFP is the
> standard connection and yes this has only happened since DST change. I
> did reboot one of the servers and the issue was fixed. I would like to
> know what causes this though so that I can avoid rebooting servers.
We've seen this to and it seems AFPTCP.NLM doesn't notice the DST
change. The only fix I'm aware of it to unload and then reload
AFPTCP.NLM (or restart the server, which whilst brutal can sometimes be
cleaner).
HTH.
Simon
Novell Knowledge Partner (NKP)
Do you work with Novell technologies at a university, college or school?
If so, your campus could benefit from joining the Novell Technology
Transfer Partner (TTP) program. See novell.com/ttp for more details.

Similar Messages

  • File time stamp issue

    First, I'm not sure where this post would go.
    We have several Mac users and they are noticing a problem with file time stamps on our NetWare servers. They are an hour ahead. When looked at from the server's console or from a Windows box, the file time stamp is correct. This is causing some problems with our production software.

    On 09/11/2011 22:26, isutton wrote:
    > NW 6.5 with latest SP. Mac OS X (Leopard and Snow Leopard). AFP is the
    > standard connection and yes this has only happened since DST change. I
    > did reboot one of the servers and the issue was fixed. I would like to
    > know what causes this though so that I can avoid rebooting servers.
    We've seen this to and it seems AFPTCP.NLM doesn't notice the DST
    change. The only fix I'm aware of it to unload and then reload
    AFPTCP.NLM (or restart the server, which whilst brutal can sometimes be
    cleaner).
    HTH.
    Simon
    Novell Knowledge Partner (NKP)
    Do you work with Novell technologies at a university, college or school?
    If so, your campus could benefit from joining the Novell Technology
    Transfer Partner (TTP) program. See novell.com/ttp for more details.

  • Can access a files time stamp for calculations?

    I'm using Diadem 10.2.  We have an issue with our data, where the first cycle is corrupt iff the time stamp between the current file and previous file is less than 30 minutes.  This indicates a manual intervention, and it results in skewed results.
    I want to discard the first cycle when the File time stamps are less than 30 minutes apart...but I can't find a way do it.
    We use runtime in the file as a time channel, begins at zero each file, so i can't use any channel values to do this?
    Thanks in advance for the help.  Completing this task will end my assignment with this team, and I'll be moving to a new position at the end of the week.  Not sure if Diadem is in my future or not, but I highly doubt it.
    Thanks in advance...

    Hi Jeff,
    What type of data files are these?  If it's a custom file format, did you write the DataPlugin that reads the file into DIAdem?  Is the aquired date/time stored inside the data file somewhere?  For a TDM or TDMS file, this would typically be in the "File.DateTime" property, which shows up in the DataFinder as "File.Storage datetime" and in the Data Portal as "File.Storage date/time".
    The File created and modifed dates you get from Windows tend to change unexpectedly, so it would not be ideal to use those for a mission-critical process.
    I'm assuming that you're loading all the various data files into DIAdem, then concatenating them into contiguous channels that contain all the data from all the files.  You will then need to use e "Calculate Differences" ANALYSIS function to create a new channel that has the delta date/time values for each row. Once this is the case, you can use the Channel Calculator to find rows where the delta date/time value is invalid and set these rows equal to NoValues.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to include seconds and millisecon​d in the CSV file time stamp generated by the SpreadShee​t Object?

    I'm Using Lookout 6.02, in a XP Pro Windows Machine, Service Pack 3.
    I have an application that collects data at the rate of 20 samples per second. It works just fine, the CSV File contains all the samples without missing a single one.
    The problem is that the time stamp in the data file only shows hours and minutes. With 20 sample per second, there are 1200 samples per minute. It is hard to figure out in which second or sample number, occurred some events collected. These files are open with Excel and analyzed with Excel. There is no easy way to implement a search or a guidance for knowing the sample number or the exact time in Excel.  My problem is to add the seconds and if possible the milliseconds to the time stamp done by the spreadsheet object.
    Any suggestion?
    Other ways to do the same that includes the time stamp all the way down to milliseconds?

    Create another column with the Now() function, then set the calumn format to hh:mm:ss.s
    expression would be now(trigger) for the date and time or now(trigger)-today(trigger) for just time
    The trigger will cause the expression to stay updated, perhaps using the same trigger for logging the spreadsheet.
    Good luck
    Mike
    Message Edited by Mike@DTSI on 01-16-2009 04:12 PM
    Mike Crabtree - Lead Developer
    Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
    (866) 964-6948 / (760) 247-9512

  • LVM file time stamps - time stamps are not uniform

    My LVM files do not have evenly separated time stamps.  Is this by design?  I want to record data from multiple channels at say 100S/s and see this in my LVM file.  Ideally each of the 100 data points would be separated by 0.01s.  This is not what I get.
    I have tried changing the samples per second and the samples per channel inputs on my timing and read VIs but I don't get even spacing.  I have figured out that the DAQmx Read VI always cuts the number of samples in the file in half.  So sampling at 100S/s gives me 50 data points per second in my LVM file.  Given that it cuts the points in half, I would like the spacing to be .00, .02, .04 etc., but I get this:  .00, .01, .02, .03, .08, .09, .10, .11, .16, .17, .18, .19... 
    Is this normal or am I missing something?
    HP

    Unfortunately, I am not a DAQ user (the last time I really used DAQ was 7 years ago, before DAQmx was created). So, I have never seen your DAQ read issue.
    LVM, on the other hand, I am intimately familiar with.  Using the write to spreadsheet will almost always be faster than the LVM write.  Under the hood, LVM write uses write to spreadsheet, but also handles a lot of other bookkeeping (you can look yourself by converting an LVM Express VI to a normal VI and diving into it).  Your biggest issue will be saving the timestamps correctly.  If you are using the waveform datatype from the DAQ read, the timestamp is included, so getting it right is not an issue.  Formatting it in a text format for save is.
    Precisely what are you trying to do?  From you earlier post, it appeared you were taking one set of several channels of data every 10ms and writing to disk.  Depending on how you use the LVM write, you may be attempting to open the file and close it at every write.  This would be very slow and could account for your jitter.  Saving at every data point is also very inefficient.  You can stream at disk rate limited speeds (~10 - 60 MBytes/sec, depending on your hardware) if you optimize your buffer and disk write sizes. Optimum disk write size is about 65,000 bytes for Windows XP.  Your data is probably far less than that.
    Please post more details and code and I will try to help you more.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Data file time stamp on Logical Standby

    Dear All,
    My Logical Standby Database that is Oracle 10gR2 on Wondows 2003 Server is fully synced with the production database.
    If i query number of records on Logical Standby they are the same as on production.
    And when i query applied_time from dba_logstby_progress view, there is hardly a difference of second since I have configured real time apply.
    BUT the date and time stamp of my data files and index files on Logical Standby is more than 12 days old.
    I am confused, why this its like this. Is there any workout to fix that? Is it normal? or what?
    Kindly help.
    Regards, Imran

    misterimran wrote:
    Dear All,
    My Logical Standby Database that is Oracle 10gR2 on Wondows 2003 Server is fully synced with the production database.
    If i query number of records on Logical Standby they are the same as on production.
    And when i query applied_time from dba_logstby_progress view, there is hardly a difference of second since I have configured real time apply.
    BUT the date and time stamp of my data files and index files on Logical Standby is more than 12 days old.
    I am confused, why this its like this. Is there any workout to fix that? Is it normal? or what?
    Kindly help.
    Regards, Imran
    Is there any workout to fix that?
    Who said it is something to "fix"?

  • Synchronize file time stamp problems

    I upload files from Dreamweaver (CS3) to the server. The time
    stamp on the local files will say 3:37 p.m., but the time stamp on
    the remote server will say 7:44 p.m.
    Also, when I select synchronize, it will tell me that some of
    the files on the server are newer than locally, even though I know
    they aren't. But it does not give me this message consistently, and
    it seems untroubled by the three hour difference referenced above.
    Any ideas? A few other people at another location make
    changes to this site, so it is critical to know when something
    really has changed.
    I am new to Dreamweaver, coming over from GoLive, so maybe I
    am missing something obvious in settings somewhere? Didn't have
    this trouble in GoLive.

    Thanks for replying. I did think of server location. However,
    I am on the East Coast, so the time difference would put the server
    in the middle of the Atlantic. Also, I have been told the server is
    in Denver, although I am not sure if that is true.
    Also, I later logged on to the server through their control
    panel, completely outside of Dreamweaver, and the date and time
    stamps of the files I looked at bore absolutely no relation to
    reality. Perhaps the server is a mess somehow?
    Anyone else have these problems and can point me to any
    reading or help files? Thanks.

  • Windows File Time stamp

    Hello!
    From my understanding there is a File class which has several methods e.g to get file name. The problem i am having is I am trying to implement a simple program which looks at the time file stamp and output the creation, access and modified times of a file; so far I have been able to retrieve the last modified time of a file but not the access and creation times. How is this done? below there is code to retrieve last modified time:-
    ===================================================
    package timestamp;
    import java.io.*;
    import java.util.*;
    public class Main {
    public static void main(String[] args)throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    System.out.println("Enter file or directory name : ");
    File filename = new File(in.readLine());
    // check to see if its a directory
    if (filename.isDirectory()){
    // check to see if its a file
    if (filename.exists()){
    long t = filename.lastModified();
    // get a directory name
    System.out.println("Directory name : " + filename.getName());
    System.out.println("Directory modification date and time : " + new Date(t));
    else{
    System.out.println("Directory not found!");
    System.exit(0);
    else{   // check to see if the file name exists
    if (filename.exists()){
    long t = filename.lastModified();
    System.out.println("File name : " + filename.getName());
    System.out.println("File modification date and time : " + new Date(t));
    else{
    System.out.println("File not found!");
    System.exit(0);
    }

    Hi! thanks for the response I have written the code to retrieve the creation, access and modified times using Run exec (). A user enters file or directory name and idealy it should output those times. When i run the program I get IOException error=2..... a lot of articles online suggest the error means that the files is not found but the file I have specify does exist unless the my coding is wrong. Any suggestions:
    C:\>java Times
    Enter file or directory name:
    C:\Dev-C++
    exception happened :
    java.io.IOException: CreateProcess: "dir \tc" "dir /ta" "dir /twC:\Dev-C++" error=2
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(Unknown Source)
    at java.lang.ProcessImpl.start(Unknown Source)
    at java.lang.ProcessBuilder.start(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at Times.main(Times.java:23)
    source code
    import java.io.*;
    public class Times {
    public static void main(String args[]) {
    String s = null;
    try {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    System.out.println("Enter file or directory name: ");
    File filename = new File(in.readLine());
         // run windows command in conjuction with entered file/directory name
         // creation time "dir /tc"
         // access time "dir /ta"
         // modifed time "dir /tw"
         String [] times={"dir /tc", "dir /ta" , "dir /tw" + filename};
    Process p= Runtime.getRuntime().exec(times);
    //Process p= Runtime.getRuntime().exec("dir /tc" + "dir /ta" + "dir /tw" + filename);
    BufferedReader stdInput = new BufferedReader(new
    InputStreamReader(p.getInputStream()));
    BufferedReader stdError = new BufferedReader(new
    InputStreamReader(p.getErrorStream()));
    // read the output from the command
    System.out.println("The output:\n");
    while ((s = stdInput.readLine()) != null) {
    System.out.println(s);
    // read any errors from the attempted command
    System.out.println("Here is the standard error of the command (if any):\n");
    while ((s = stdError.readLine()) != null) {
    System.out.println(s);
    System.exit(0);
    catch (IOException e) {
    System.out.println("exception happened : ");
    e.printStackTrace();
    System.exit(-1);
    }

  • Alternate data stream (ADS) removal does not update file time stamp.

    Hello,
    I am using standard CL program stream.exe to operate ads on file.
    If I add ADS to file, file data\time will be changed.
    F:\>dir
    07/23/2014  06:43 PM            32,768 test.txt
    F:\>stream cr test.txt:0 important_info
    SUCCESSFUL: tf1.txt:0 is created.
    RC = 0
    F:\>dir
    07/30/2014  07:11 PM            32,768 tf1.txt
    If I remove ADS from file, file data\time will be unchanged.
    F:\>dir
    07/30/2014  07:11 PM            32,768 tf1.txt
    F:\>stream de tf1.txt:0
    SUCCESSFUL: tf1.txt:0 is deleted.
    RC = 0
    F:\>dir
    07/30/2014  07:11 PM            32,768 tf1.txt
    Is it a normal behavior? I suspect a defect in stream.exe.

    Hi,
    This depends on that if the stream.exe contains the related code like SetFileTime when play the deleting action.
    SetFileTime function
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms724933(v=vs.85).aspx
    So we may need your resource code about de of stream.exe to determine the issue.
    Kate Li
    TechNet Community Support

  • Dreamweaver template file (.dwt) updates related files but not file time stamp

    I updated a bunch of dreamweaver template files, and allowed dreamweaver to update the affected files in the site.
    The file were all checked out, and they were updated.
    However, the timestamp of the files did not update.
    Now, when I synchronise with my server, it doesn't see these files as being "new".
    Any way I can get these to update the timestamp without manually finding and pushing all of them?
    Using Dreamweaver CS5 V. 11.0 Build 4993

    This is certainly an odd symptom, and one I have not heard of before.  If you just create a new 'dummy' child page from this template and leave it local (i.e., don't check it in), when you do an update does that timestamp change?

  • Changing time stamp format in the file receiver adapter file name

    Hi all,
    How can we change the standard date time stamp from
    filename_yyyymmdd-hhmmss-mil
    to
    filename_yymmdd_hhmmss
    i.e.,  I want "underscores" instead of "hyphens" and also I do not want the MilliSeconds.
    I read in the forums that I have to use the combination of variable substitution and mapping functions to do this, but not sure how exactly.
    Can the experts help me with this please?
    Many thanks.

    Hello Ramesh,
         You can make this possible using runtime filename creation using UDF.
    Please go though the below steps.
    Message mapping:  
    Create an UDF and include the piece of code that captures the Filename and Timestamp from source side via ASMA.
    Modify them according to our requirement by adding the <Timestamp> at the end of <filename> with _.
    Map the UDF to any of the top level node so that the modified filename will be available for the target communication channel
    UDF Code is:
    try {
    String filename    = "";
    String timestamp = "";
    DynamicConfiguration conf1 = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create( "http:/"+"/sap.com/xi/XI/System/File","FileName");
    DynamicConfigurationKey key2 = DynamicConfigurationKey.create( "http:/"+"/sap.com/xi/XI/System/File","SourceFileTimestamp");
    filename = conf1.get(key1);
    timestamp = conf1.get(key2);
    filename = filenametimestamp".xml";
    filename = filename.replaceAll( "-" ,"_" );
    conf1.put(key1,filename);
    return filename;
    catch(Exception e)
         String exception = e.toString();
          return exception;
    Click on Advanced tab and check the Option u201CSetAdapterSpecificMessageAttributesu201D in addition to that check the attribute that are required to be captured during run time. In our case File Name and Source File Time Stamp are required to be checked
    In the receiver communication channel Mention u2018 * u2018as File Name Scheme.
    Click on Advanced tab and check the Option u201CSetAdapterSpecificMessageAttributesu201D in addition to that check the attribute u201CFile Nameu201D which will carry the modified value in the UDF .
    i hope this will help you.
    Monica

  • *.eml Time Stamp - Select File in Windows Explorer Changes the Modified Date

    The Windows Live Mail *.eml files time stamp is getting changed to the current date when the file is selected in the Windows Explorer! I save backup copies of important E-mails to folders on the Hard Drive and then synchronize them with the same folders on other LAN Hard Drives for backup archives. When these E-mail files are selected or opened from the Windows Explorer in the Windows 7 OPS the Modified Date Time Stamp is changed to the current date automatically! This action creates a real problem when doing later synchronizations of all of the folders! The date will not be the original date of the E-mail and the original file will be over copied with the file with the newest date stamp. I stopped Indexing on the *.eml files and that stopped the time stamp change when overcopy synchronization, but if the file is selected during a viewing in Windows Explorer then the Time Stamp is updated to the current date again! A solution to this problem would be greatly appreciated if anybody knows of one. Thanks - - - Shorto

    The Date and Timestamp changing issue in Windows 7 has a two part fix!
    1. Disable the Indexing of the *.eml file type in the Indexing Options located by Clicking on "Control Panel" -  "Indexing Options" - Advanced Button - File Types Tab - scroll down to the .eml file type and uncheck the Box then click OK to finish, so
    that the Email type of files won't be Indexed.
    2. Delete the Registry Entry listed below, be sure to Export and Save the original Key so it could be Restored if something goes wrong!  \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers
     and Delete the .eml entry
    That should fix the problem with the changing Date/Timestamp of Email Files. For more information read CarlS's WindowsSeven Fourm thread where I also have more input:
     http://www.sevenforums.com/browsers-mail/35334-eml-files-timestamps-updated-constantly.html
    This should give you a better understanding on the problem and the Fix. - - - Shorto

  • I used "Get Waveform Components" to separate waveform data. I need to get the time stamp and write it on file as an header.

    I am not able to solve the problem because I can't find an I/O vi that writes on file time stamp data. An error occurs, because of connecting different data types. How can I convert time stamp data so that I can use it as input in a write on file vi? Please, help me!

    The problem with the selection seems to be that you are using two different indexing tunnels on the for loop. One of them loops over every value of the first incoming waveform, the other one over all waveforms in the incoming array. The value you wire to the N terminal will be ignored, the number of loop executions will be the minimum of your indexes. Anyway, the loop doesn't seem to do what you wanted:
    - If you want to store the complete waveform: loop over all waveforms, check for the maximum of each of them and write it just like you do now.
    - If you want to store only the values of each waveform that actually exceeded the threshold: You can either use 2 nested for loops to iterate over each value of each waveform. Use shift registers t
    o create new arrays of timestamps / values for the values you want to store. You need to either convert the waveform to x-y-pairs (VI on analog waveform palette) or calculate your own timestamps. You might as well want to check out the "Search waveform" VI. Configure it so that value+-tolerance covers the band between your expected minimum value and your threshold value. The VI will give you the indices and timestamps of all fits.

  • Time-stamp problem with tar

    everytime i untar something i get:
    [yak8998 files]$ tar xfj Azureus_2.0.8.4_linux.GTK.tar.bz2
    tar: azureus/azureus: time stamp 2004-03-14 08:39:50 is 48653898 s in the future
    tar: azureus/Azureus2.jar: time stamp 2004-03-16 13:00:23 is 48842329 s in the future
    tar: azureus/id.azureus.dir.file: time stamp 2003-12-19 19:43:31 is 41263317 s in the future
    tar: azureus/cpl-v10.html: time stamp 2004-02-12 18:42:42 is 46011668 s in the future
    tar: azureus/lgpl-v21.txt: time stamp 2004-02-12 18:42:42 is 46011668 s in the future
    tar: azureus/libswt-atk-gtk-3038.so: time stamp 2004-02-12 17:42:41 is 46008067 s in the future
    tar: azureus/libswt-awt-gtk-3038.so: time stamp 2004-02-12 17:42:41 is 46008067 s in the future
    tar: azureus/libswt-gnome-gtk-3038.so: time stamp 2004-02-12 17:42:41 is 46008067 s in the future
    tar: azureus/libswt-gtk-3038.so: time stamp 2004-02-12 17:42:41 is 46008067 s in the future
    tar: azureus/libswt-mozilla-gtk-3038.so: time stamp 2004-02-12 17:42:41 is 46008067 s in the future
    tar: azureus/libswt-pi-gtk-3038.so: time stamp 2004-02-12 17:42:41 is 46008067 s in the future
    tar: azureus/libsystray4j.so: time stamp 2004-02-28 05:35:44 is 47346850 s in the future
    tar: azureus/mpl-v11.txt: time stamp 2004-02-12 18:42:42 is 46011668 s in the future
    tar: azureus/swt-about.html: time stamp 2004-02-12 18:42:42 is 46011668 s in the future
    tar: azureus/swt.jar: time stamp 2004-02-12 17:42:40 is 46008066 s in the future
    tar: azureus/swt-mozilla.jar: time stamp 2004-02-12 17:42:40 is 46008066 s in the future
    tar: azureus/swt-pi.jar: time stamp 2004-02-12 17:42:40 is 46008066 s in the future
    tar: azureus/README.linux: time stamp 2004-03-08 10:33:00 is 48142286 s in the future
    tar: azureus/systray4j.disabled: time stamp 2004-03-06 03:43:04 is 47944890 s in the future
    tar: azureus: time stamp 2004-03-14 14:18:09 is 48674195 s in the future
    [yak8998 files]$
    and nothign works right...
    but than if I
    [yak8998 files]$ tar xfjm Azureus_2.0.8.4_linux.GTK.tar.bz2
    it works fine...
    I'm thinking this might have to do with the system clock, except in FreeBSD and the BIOS the date/time is correct.

    I'm guessing your system clock is wrong in Arch.  Type "date" and see if it's the right time... and check /etc/rc.conf to make sure you have HARDWARECLOCK and TIMEZONE set right.

  • Transfer time stamp from text file into MS Access thru Labview

    Hello everyone,
    I am Cruz; Long time listener, First time caller.
    I am currently monotoring data being collected by an oven. The data is stored in a text file. I am using Labview to take the data from the textfile and place it in an MS access DB for manipulation. The first three columns of the text file are the time stamp of data. When i transfer the data into Access i cant get the first three columns to display as a time stamp. Can have some pointers on what how to get the first three columns to display correctly.
    Additional info:
    the text file is a 1D array that gets overitten with every new mesurement tanken. the transfer to Acces is to not loos any of the information and to better manipulate the data into forms and such.
    Running Labview 2010
    attached is code and text file.
    Any help is greatly appreciated.
    Attachments:
    Oven test other.vi ‏16 KB
    datalog032010003.txt ‏1 KB

    Your first mistake is reading the file as DBL. Your first three columns are obviously not numeric values. Did you ever look at the output array? Read it as strings. Second, you would need to combine those first three columns to create an actual time stamp before you write to the db. Unless of course you have one column for date, one column for time, and one column for AM/PM. I would not recomend that type of structure in the db.

Maybe you are looking for

  • To Retrive Folder List in SAP MII 12.0

    Is there any option available in SAP MII 12.0 to retrieve List of Folders Available same as like Folder List Query in 11.5.

  • Reading attributes of different context nodes

    Hello, I want to read attributes of BP_DATA/TaxNumberList Node: BUILHEADER from Node BUILTAXNUMBER. I have tried all without success. In GENIL Browser they are not related. What can i do? Best Regards JM

  • How to insert automatic Date/Time Stamp on filename?!

    I have a simple chart that I fill out for work hours and whatnot every day with the Numbers program. I would love to have the date inserted into the filename automatically so that I don't have to manually enter it every day when I save. Is this possi

  • ScrollPane doesn't display its content

    I created a scrollpane in as3 and set its source to another object, which contains several rows of icons. The scrollbar in the scrollpane is getting the right length, which means the object was loaded as expected, but the contant is not showing corre

  • Code to sort un-common elements in arrays

    the code which i made so far class ArraySetExample      public static void main (String [] args)           String rainbow [] = {"red","orange","yellow","green","blue","indigo","violet"};           String flag [] = {"red","white","blue"};           //