« first day (2161 days earlier)      last day (2794 days later) » 

3:25 AM
Don't worry just figured it out :)
anyone know how to import csv files onto a Jtable
 
 
2 hours later…
5:44 AM
Hi
 
5:54 AM
hey
 
 
2 hours later…
7:31 AM
morn
 
8:01 AM
can i have some help on some code pls ? if anyone is free
 
8:26 AM
just ask
 
8:41 AM
Currently got a table displaying ID,location,status,patient of an app I'm making as a small project. I'm trying to import a CSV file (without using a CSV reader) onto this table but am having difficulty
table = new JTable();
            table.setModel(new DefaultTableModel(
                new Object[][] {
                },
                new String[] {
                    "ID", "Location", "Status", "Patient"
                }
            ));
            scrollPane.setViewportView(table);
            contentPane.setLayout(gl_contentPane);
        }
    }
 
sorry, don't know anything about swing...
 
9:21 AM
If you have a choice, use JavaFX instead
 
I'm using eclipse atm to write the code
find it easier using that
 
 
1 hour later…
ssc
10:51 AM
Morning
 
anyone any ideas?
 
11:09 AM
morn cat-friends
now im good to go
 
morn haha
 
:3 meow
 
@H
@Hans1984 any idea on my question :P?
 
im not familiar with reading csv files
im sorry
 
thats okay :)
 
11:11 AM
what is the exact issue
 
So i managed to create a table
and I just simply want to import all my data from a csv file onto my table I just don''t know how to
 
hmm but how would i put that onto a table
 
maybe go step for step
just try to read csv data
if that works go to the next step
 
okay
thanks !
 
11:19 AM
you re welcome
ok time for lunch break
brb
 
12:04 PM
doesnt seem to fit in with my class for some reason
 
12:14 PM
any lambda experts here?
 
12:26 PM
 
1:21 PM
@Hans1984 first kitty video i'm liking
 
hehe good
 
2:19 PM
hello
@FunctionalInterface
interface Converter<F, T> {
T convert(F from);
}
    Converter<String, Integer> converter = Integer::valueOf;
    Integer converted = converter.convert("123");
would you agree that the way to describe this to your grandmother would be as follows:
Integer::valueOf is called by T convert(F from); ?
as in, under the hood, we have an anonymous implementation of the Converter interface, this anonymous implementation creates an implementaion of convert() and in the body of convert(), we call Integer.valueOf()
Is that accurate?
 
2:41 PM
the grandmother wont understand shit anyway
no matter how you describe it
:3
 
3:25 PM
Morning, Java!
 
3:43 PM
Morning Michael
 
4:16 PM
Hey @AlmightyR
 
 
6 hours later…
10:11 PM
http://www.commitstrip.com/en/2016/09/22/ctrl-control/
CommitStrip
CTRL control
CommitStrip
1474580946
 

« first day (2161 days earlier)      last day (2794 days later) »