I'm trying to send and receive messages over sockets using non-blocking sockets. I found the following example (http://www.exampledepot.com/egs/java.nio/NbClientSocket.html):
{code}
// Creates a...
Type: Posts; User: Blackbird
I'm trying to send and receive messages over sockets using non-blocking sockets. I found the following example (http://www.exampledepot.com/egs/java.nio/NbClientSocket.html):
{code}
// Creates a...
I'll try that, thanks; as for the JasperSoft forum*, of my 5 posts, although I've gotten 67 views, I've only had 1 reply, and that was from myself. Holy circular referential integrity (or lack...
I want to create a project in Eclipse that will include a JasperReports element (at least one Jasper Report), so I need to access/include the JasperReports library files.
Can I do this using the...
Hello, I'm looking for [Subject/Title]
Must be free/open-source. I need to extract data from a MS SQL Server database and design typical reports containing summations, groups, etc. Later it will...
Without breaking the bank, what laptop do y'all recommend for Java (specifically, Android) development?
I'm considering a Acer AS7741G-6426...thoughts?
I get this warning message in my Error Log window:
The 'org.eclipse.mylyn.java.ui.javaAllCompletionProposalComputer' proposal computer from the 'org.eclipse.mylyn.java.ui' plug-in did not complete...
I'm trying to open a "FileOpenDialog" but am getting two err msgs:
1) openFileButton cannot be resolved or is not a field RTTCPSortSimMain.java
2) RTTCPSortSimMain cannot be resolved to a...
I'm trying to set up TCP communications between two machines, but for now (in the initial/testing phase) am using localhost.
Can anybody see why I'm getting these msgs in the Console (all I'm...
Okay, one of the replies here gave me a clue: I had to move the code in question AFTER the "setSize()" for it to work. Now the sun is shining, the birds are singing again, &c.
...
How can I arrange my components on the panel/frame so that they align?
As it is, they look like some drunk cat just scattered them across the monitor.
I guess I'm new enough that I don't understand the question, so I'll just provide the entire class:
It is in "go":
...
By "getX()" I meant getWidth() and getHeight().
The code snippet above won't compile; I get,
(and similar err msgs for getWidth() and setLocation().
I also tried this:
...
I found this on a similar thread:
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
int left = (d.width - this.getWidth()) / 2;
int top = (d.height - this.getHeight()) /...
My form is wedged against the NW corner of my screen; I want it in the middle. In fact, I will always want the main form (in every project) in the middle. How can I make that the default behavior?
<<The new Eclipse Indigo release packages the Window Designer package which allows you to easily design Swing and SWT apps.>>
That's what I downloaded, and looking through the menu items, it...
I've just gotten started with Java, coming from the Delphi and C# (WPF) world.
So far I've only seen examples of programmatically creating components. Is it really so that there is no "Toolbox"...
I'm not sure if this is the best forum, but: is there a repository of MIDI files somewhere that are free to use?
I'm thinking old songs, traditional tunes, etc.
Are they stored in xml, so they...
I am new to Java, but not new to programming, having been previously a Delphi, then C# developer.
I need to write a utility that will send messages to, and receive messages from, another machine...
I've just started with Java, having come from Delphi and C# (WPF).
Does anybody know of a "Thinking in Java for C# Developers" or "Thinking in Java for Delphi Developers" type of article/book/blog...