« first day (2042 days earlier)      last day (2884 days later) » 

12:23 AM
@JohnnyCoder Swing?
frame.setLocationRelativeTo(null)
 
the command ya knob. I cant find it in JFrame @justin
 
@JohnnyCoder There are more than one GUI libraries for Java
@JohnnyCoder Also consider using frame.setLocationByPlatform(true)
15
Q: How to get the Operating System's Look & Feel in Java 7?

Chathura WidanageI am coding Java 7 with the Netbeans 7.1 IDE. From the Java 1.7 package they are using a new theme in their applications. What can I do to make my application's theme exactly the theme in operating system (i.e. if I am using Ubuntu, I want the look and feel of my program to be the that of Ubunt...

Does anyone know a good approach for using a library before its release date? The library in question is GEF4
And if anyone has knowledge of how to use GEF4, that would be very helpful.
@newprint That sounds like what's known as a "move" or a "copy" file operation. You don't need to open the file, read, and write; that's too much work and will probably be slower. There's probably something for it in the java.nio package.
@CrazyNinja This way is shorter:
IntStream.rangeClosed(1, 100)
         .filter(n -> n % 2 == 1)
         .boxed()
         .collect(Collectors.toList());
@ItachiUchiha ^
 
eli
12:58 AM
Hey quick question
I have a viewpager
and I am saveing the state of the viewpager
using setOffscreenPageLimit
however, if I update data on one of the fragments of the viewpager
it will not automatically update the other viewpagers, that are reciveing the same data
any ideas?
 
 
8 hours later…
8:48 AM
morn
 
8:58 AM
morn
whatz up?
 
fge
9:48 AM
Looking to buy a Tesla Model S, eh
 
Tesla could be easily hacked... That's how the critics talking about it
However that's really worth the money
 
 
3 hours later…
1:07 PM
Morning, Java!
 
1:19 PM
Mornin yall
 
 
4 hours later…
4:50 PM
posted on May 26, 2016 by CommitStrip

Conference News : CommitStrip will be at EclipseCon in Toulouse the 7th-9th of June, and at Web2Day in Nantes the 15th-17th June !

 
 
1 hour later…
6:02 PM
I dont understand the differences between an abstract, absolute, and canonical pathname. Can anyone explain?
 
what is abstract path name in java?
i know canonical and absolute
 
eli
Hey quick question
why does having two synchronized methods in this case take twice as long ?
 
becoz both have to wait for each other
to complete execution
 
 
4 hours later…
10:23 PM
@ankitagrawal whats the difference between the canonical and absolute?
 
absolute is from root
canonical is not necessarily
absolute starts at /, canonical doesn't contain unnecessary ../ or something along these lines
 
okay. thanks @vogel612
 
fge
10:45 PM
Hmm, not really
The difference between a canonical path to a file and an absolute path is that an absolute path represents a way to access the filesystem resource in an unambiguous manner; note that in this definition, there is no obligation of the filesystem having a root at all
A canonical path is the same as an absolute path, except that it may, if required, dereference a given branch of the filesystem so as to reference to the true object
The most simple example is a symbolic link
 
fge
11:28 PM
Great news
It is only fair that it lost this case
 
@fge that's definitely worth a pin to me :)
 

« first day (2042 days earlier)      last day (2884 days later) »