| Networked version of Swing (X windows style)? |
|
 |
Index ‹ java-programmer
|
- Previous
- 2
- CLOB problem in JAVAHi :
I am getting a casting exception (java.lang.ClassCastException:
com.ibm.ws.rsadapter.jdbc.WSJdbcConnection) when invoking the
CLOB.createTemporary metehod. Extract of relevant lines shown below:
Any
ideas how I can resolve this?
Versions:
Oracle 9i
WebSphere Ver 5.1
Cheers
Lig
import java.io.Writer;
import java.sql.Clob;
import java.sql.Connection;
import java.sql.CallableStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Blob;
import javax.sql.DataSource;
import javax.naming.InitialContext;
import javax.naming.Context;
import javax.naming.NamingException;
import java.util.List;
import java.util.ArrayList;
import java.sql.Types;
import oracle.jdbc.OracleConnection;
import oracle.jdbc.driver.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import oracle.sql.CLOB;
.
.
.
Context jndiContext = new InitialContext();
DataSource ds = (DataSource)jndiContext.lookup("java:comp/env/"
+s_dataSource);
Connection conn = ds.getConnection();
tempClob = CLOB.createTemporary(conn, true, CLOB.DURATION_SESSION );
Error Encountered: -
java.lang.ClassCastException:
com.ibm.ws.rsadapter.jdbc.WSJdbcConnection
- 3
- 8
- Bypassing Struts validator - why doesn't bCancel=true work?Hi there,
I'm trying to bypass the Struts validator sometimes on my page. I'm
using JSP and Struts 1.1.
Basically I have a submit button that submits a form. The Struts
validator component is working great for client-side validation of the
contents of this form.
However, now I've been asked to implement a drop down on the page that
repopulates another drop down box when it is changed. Because of the
size of the data, I'm doing this server side, not client side. That
is, I want the page to refresh and then repopulate these fields.
This means I have to bypass the validator to ignore anything the user
might have already entered in the fields. I've read all over the
newsgroups how putting "bCancel=true" in your onclick or onchange
method should do the trick, but it doesn't work for me. When I create
my select box like this
<html:select property="countyId" tabindex="1"
onchange="bCancel=true;document.forms[0].method.value='changeCounty';document.forms[0].target
= '_self';document.forms[0].onsubmit();document.forms[0].submit();">
and then change the drop down box, nothing happens. Control never
gets to my changeCounty action. I've checked that. But I also don't
get any validation messages from the validator, despite there being
validation errors on the page when I change the drop down box. So
it's like the validator function doesn't execute either. (The method
value is there because I'm using a DispatchAction class.)
Is the validation function running or not? How can I bypass the
validation and still submit the form?
Thanks for the help!
Marnie
- 8
- Tools To Tackle New Code Base?Hi,
I'm looking for advice on how to quickly come to grips with
a large ( ~5000 files), undocumented codebase that's mostly Java
( compiles with Sun's command line compiler under Windows XP ).
Here are some considerations.
1) I'm new to Java, coming from a C++ background
2) I need to get a handle on this quickly but also cheaply.
3) I have no access to the original programmer.
What tools are availble that might help me analyze and
visualize the relationship between various modules and classes
in this project? In the past, with large C++ codebases I've
looked at Doxygen but the learning curve seemed very steep
and I never did figure out the graphical tools.
Appreciate any advice, the more concrete the better.
If there's a different forum I should be posting this in please let
me know.
TIA,
Gerry Murphy
- 9
- Java Everywhere videoCool cool video, matrix-like, about Java Everywhere.
http://www.youtube.com/watch?v=NW2WKCai2Kg
The REALLY funny thing is it's in Flash version 8, which just goes to
show Java may be everywhere, but there are degrees of everywhere even
in this.
- 12
- Clarification of OS "advancement"In comp.os.linux.advocacy, I heard Tim Tyler say:
>In comp.lang.java.advocacy T. Max Devlin <email***@***.com> wrote or quoted:
>> In comp.os.linux.advocacy, I heard Tim Tyler say:
>>>In comp.lang.java.advocacy T. Max Devlin <email***@***.com> wrote or quoted:
>>>> In comp.os.linux.advocacy, I heard Tim Tyler say:
>>>>>> In comp.os.linux.advocacy, I heard Tim Tyler say:
>>>>>>>In comp.lang.java.advocacy T. Max Devlin <email***@***.com> wrote or quoted:
>>>>>>>> In comp.os.linux.advocacy, I heard Jorn W Janneck say:
>>>>>>>>>In comp.lang.java.advocacy T. Max Devlin <email***@***.com> wrote:
>
>>>>>>>>>> It is, on the face of it, impossible, what he says. Businesses do
>>>>>>>>>> not and should not spend money on things without expecting to own
>>>>>>>>>> them once they do.
>>>>>>>>>
>>>>>>>>>eclipse-ibm?
>>>>>>>>
>>>>>>>> What about it? [...]
>>>>>>>
>>>>>>>I think he means Eclipse refutes the idea you expressed above - that
>>>>>>>businesses do not and should not spend money on things without expecting
>>>>>>>to own them.
>>>>>>>
>>>>>>>IBM has invested a lot of money in Eclipse - but it doesn't own it.
>
>[...]
>
>>>>>That wasn't the thesis you presented above. What you wrote was:
>>>>>
>>>>>``Businesses do not and should not spend money on things without
>>>>> expecting to own them once they do.''
>>>>>
>>>>>A simple counter-example neatly dispenses with that thesis.
>>>>
>>>> I'm afraid not. It would be nice if an /apparent/ counter-example, however
>>>> simple, could refute economic truth. Or maybe it wouldn't be.
>>>>
>>>> Either way, your counter-thesis would have to be "businesses should spend
>>>> money on things without expecting to own them once they do", which is
>>>> clearly preposterous.
>>>
>>>You seem to be experiencing some difficulty with inverting a thesis.
>>>
>>>The opposite of "do not and should not" is not "should" - it is:
>>>"do or are not morally prohibited from".
>>
>> Yea, sure.
>
>Try it on for size.
>
>Your own argument leads to a conclusion which is anything but preposterous
>if you use valid forms of reasoning.
My statement was true. That you can extend it to absurd lengths by pretending
it is a mathematical claim and then find it lacking because it is not is a
problem for you, not for me.
--
T. Max Devlin
*** It's 2003! Why can't I teleport?!? ***
-- Louis Black
- 12
- Log4j - dealing with multithreaded invocations?Hi,
I have a class with 4 methods. I want to use Log4j to log messages for
each of these methods to a common log file.
Ideally I would like the log messages for each method to be seperated
from the others. But if multiple users were to invoke the methods at
the same time, then the messages in my log file would be jumbled up
with the others.
I can probably try making the methods synchronized so i dont get into
this sort of trouble, but logging by itself doesn't seem to be a good
enough reason to be making methods synchronized.
What approach can I use to deal with this?
Thank you,
Rohit.
- 12
- considering a job as an ATG dynamo server adapter to j2ee enviormenthi...
i've been offered a job which involves getting a large content based
java application based on ATG dynamo server version 4.5.0, they
considering a move to a j2ee enviorment system (a rewrite of the
entire application is in order) and need a person who will study the
current application and who willl provide insight for writing the
existing one.
i have no actuall expirience in j2ee ejb etc.. and as such, would
like what is the learning curve for this server
- 12
- [signed applet] certification authorityHi,
I have a signed applet (signed myself with jarsigner.exe).
It works fine but the users get a warning message before accepting the
applet to execute.
Next step, is to have my certificate trusted by Verisign or other
third party.
Do you know any link to a site that would explain the procedure to
follow in details ?
Which certification authority would you recommend ? the cheapest ?
thanks
- 12
- Transparency in Java ImagingHi all!
When I have multiple images in Java (I'm using JAI, but I thing this has
to do with ColorModel, which is present in AWT) which I want to stack
above each other, is there any possibility to define white as
"transparent", i.e. whenever an image contains white pixels they should
not be drawn... any ideas?
If this is impossible, how else do I use transparency when drawing
images? (i.e. how can I stack them, without each overwriting the image
below it)?
thanks in advance and kind regards,
Messi
- 15
- XApool +multiple replicated nodesHi All,
I am creating a small research system for testing various fall over
algorithms in a distributed database situation and and have been looking at
using XApool as a possible JDBC XA proxying and load balancing solution. I
am just wondering if anyone else has had any luck getting the XApool system
to talk to different oracle hosts ? I plan to use the development/personal
edition of oracle and their thin jdbc driver, which is also XA compatible.
Anyway, if someone could point me in the right direction I would be much
appreciated :) I've had a look at the docs but cannot see where I add the
different nodes into the pool ???
- 15
- [ADV] Java GUI test tool qftestJUI version 1.4 released
Quality First Software (QFS) is pleased to announce the release of
version 1.4 of qftestJUI - The test tool for Java User Interfaces.
The is the second medium upgrade for qftestJUI since the release of
version 1.0 in October 2002. Along with a greatly improved and
extended tutorial, the highlights of this upgrade are support for Java
WebStart, extended support for distributed development through an
include mechanism and dependency tracking across multiple test-suites.
An evaluation version is freely available for download at
http://www.qfs.de/en/qftestJUI/download.html
where you'll also find a link to the latest release notes.
What is it?
===========
Based on capture/replay, but extending far beyond, qftestJUI manages
the creation and execution of automated tests for Java/Swing
applications with a graphical user interface. It runs on Windows and
all major Unix systems with JDKs from 1.1.8 to 1.4.2.
The key feature of qftestJUI is an exceptionally high test
reusability, minimizing the effort necessary for regression testing.
Intuitive graphical design of tests reduces the cost of introducing
qftestJUI into the QA process. Additionally, qftestJUI sports a set of
features for the advanced user such as variables, procedures and
scripting. Extensive documentation, including a tutorial, is available
for users approaching the product with different background and skill
levels.
For detailed product description and free evaluation please visit
http://www.qfs.de/en/qftestJUI/index.html
--
Gregor Schmid email***@***.com
Quality First Software GmbH http://www.qfs.de
- 15
- -Xms setting makes IE exitFolks,
My company uses a Java based server application, and Internet Explorer
on our client machines. Recently our server application was upgraded,
and instead of needing Microsoft's JVM on the client machines we are
now using Sun Java version 1.4.2_08.
Performance around applet caching was poor, and the recommended cure
for that was to set "-Xms128m -Xmx256m" in the Java Runtime
Parameters from the Java control panel. On machines that have never had
the Microsoft JVM installed this fixed the problem.
However, on machines that have had the JVM installed, this causes the
browser to exit whenever an applet is started. From doing some research
it seems this problem is usually caused by a conflict between the Sun
and Microsoft Java components. So the JVM was uninstalled using the
process detailed here: -
http://www.java.com/en/download/help/uninstall_msvm.xml#cli
(That is identical to the steps found on Microsoft's knowledgebase)
After a lot of experimentation I have found that setting only the
starting memory setting "-Xms64m" does not cause any problems.
However this is clearly far from ideal and I am looking for a better
solution. Does anybody have any suggestions?
-----
Lewis
- 15
- Switching GTK theme on Java 1.6 (i.e., mustang)I'm at a loss on how to change on-the-fly the theme (i.e., resource) for the
GTK look and feel on Java 1.6 (Mustang). On 1.5 it was a simple matter of
setting a system property (i.e., "swing.gtkthemefile") like this:
System.setProperty ("swing.gtkthemefile", fGTKThemeFile);
But on Mustang it has been completely changed.
It is probably just as easy but I'm missing something?
Thanks.
Karl
email***@***.com
- 16
- Client Code for Axis - Newbie QuestionHi,
I'm a first time Axis 1.1 user and trying to figure out how to write
web services client code. I used WSDL2JAVA to create java source from
the wsdl. I ended up with the following files...
xxxx_Port.java
xxxx_Service.java
xxxx_ServiceLocator.java
xxxxBindingStub.java
xxxxRequest.java
xxxxResponse.java
Does anyone have some sample code they can share with me that shows
the basics of how to set up the request and response parameters and
then actually make the call to the web service. Not sure which
classes or methods to use.
Thanks
|
| Author |
Message |
Luis

|
Posted: 2005-4-19 18:34:00 |
Top |
java-programmer, Networked version of Swing (X windows style)?
Hello,
I was wondering if something like that exists or if someone has ever
thought about it:
Instead of Swing updating the local screen and obtaining events from
the local mouse & keyboard, it may be useful in some cases to have a
networked version of Swing, just like XWindows.
Imagine a workstation connecting to a remote JVM that starts a typical
swing application. But this JVM/Classpath/etc is configured so that all
Swing calls are serialized to the remote workstation, where all the
screen updates are made. And viceversa for the mouse and keyboard.
Probably Swing is not well designed for this kind of "pluggability"...
in any case it would be an interesting thing to have.
The key requirement here is that preexisting AWT/Swing applications can
be remotely executed without modification.
Is there any project or product that does this?
If not, any ideas on how to implement it?
Thanks,
Luis.
|
| |
|
| |
 |
Thomas Weidenfeller

|
Posted: 2005-4-19 20:25:00 |
Top |
java-programmer >> Networked version of Swing (X windows style)?
Luis wrote:
> Instead of Swing updating the local screen and obtaining events from
> the local mouse & keyboard, it may be useful in some cases to have a
> networked version of Swing, just like XWindows.
All the Unix VMs I have seen work on top of X11 - with the exception of
Apple's VM. So if you run your application on Unix, you can already
redirect the display to another machine. However, especially Swing
applications do a lot of painting by them self, so they generate a lot
of X11 protocol messages on the network. As a result, Java applications
over X11 can show some very bad response times.
Alternatively, running AWT/Swing applications over VNC, without the need
to change anything in the application or VM should work, too.
If you want to use X11 with non-Unix VMs you have some work ahead of you:
> Probably Swing is not well designed for this kind of "pluggability"...
> in any case it would be an interesting thing to have.
Actually, Java is (or better was) in general designed for this. Until
recently, "all" one had to do to get a Java GUI applications running on
something else, was to replace the AWT. More precisely, coming up with
an own implementation of the Toolkit class, if I am not mistaken. In the
past Swing was 100% implemented in Java, exclusively using the AWT for
I/O. So by replacing the AWT toolkit you could also get Swing working on
something else.
However, latest with Java 1.5 the performance of Swing has been enhanced
by using native calls. I have never investigate if, when, where and to
what extend in which VM on which platform native calls are used now.
Native calls will make it very difficult to get applications on non-Unix
systems to run over X11. I would guess you will have to provide some
native-code free PLAF implementation as a minimum, too.
> The key requirement here is that preexisting AWT/Swing applications can
> be remotely executed without modification.
>
> Is there any project or product that does this?
> If not, any ideas on how to implement it?
For a start you might want to look at the following stuff:
http://www.jcraft.com/weirdx/ - X11 server written in pure Java
http://escher.sourceforge.net/ - X11 client library (xlib) in pure Java
http://www.cs.umb.edu/~eugene/XTC/ - Another X11 protocol implementation
I know that a company did once build an AWT implementation in Swing. I
think they even donated it to Sun when the company folded. I have never
heard of it again.
/Thomas
--
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
|
| |
|
| |
 |
Luis

|
Posted: 2005-4-19 20:37:00 |
Top |
java-programmer >> Networked version of Swing (X windows style)?
Thanks for the pointers, I will take a look at them.
Anyway the idea was to avoid having to install VNC, X11 or any other
product, as they have their own drawbacks. For example VNC transfers
bitmaps instead of GUI primitives, which makes it much slower.
The proposed approach has several advantages:
- Faster than VNC or, from what you say, than X11
- Smaller and cheaper
- Totally independent of client and server OS (that is the biggest
advantage)
The big disadvantage, of course, is that it would only be able to run
Java Swing applications.
Regards,
Luis.
|
| |
|
| |
 |
Nigel Wade

|
Posted: 2005-4-19 22:16:00 |
Top |
java-programmer >> Networked version of Swing (X windows style)?
Luis wrote:
> Thanks for the pointers, I will take a look at them.
>
> Anyway the idea was to avoid having to install VNC, X11 or any other
> product, as they have their own drawbacks. For example VNC transfers
> bitmaps instead of GUI primitives, which makes it much slower.
If you don't install X11 on a UNIX/Linux system, what graphical display do
you intend to use? Or, are you proposing to write graphics drivers for each
UNIX/Linux/graphics card? That would be fun.
>
> The proposed approach has several advantages:
> - Faster than VNC or, from what you say, than X11
> - Smaller and cheaper
> - Totally independent of client and server OS (that is the biggest
> advantage)
>
> The big disadvantage, of course, is that it would only be able to run
> Java Swing applications.
I think the big disadvantage is that you wouldn't even be able to run Swing
applications :-).
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : email***@***.com
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
|
| |
|
| |
 |
Luis

|
Posted: 2005-4-19 23:03:00 |
Top |
java-programmer >> Networked version of Swing (X windows style)?
> If you don't install X11 on a UNIX/Linux system, what graphical
display do
> you intend to use? Or, are you proposing to write graphics drivers
for each
> UNIX/Linux/graphics card? That would be fun.
No, no, I think I did not explain myself.
To give a simple example:
- Machine A is the one the user is sitting at. In X Windows, I think
this is the Window server.
- Machine B is the one that executes the Java Swing program which will
get displayed at machine B.
- A JVM in machine B is started. It runs a normal Swing program which
at a given moment will create a JButton (in a JPanel in a JFrame, and
other objects are involved which we don't mention for the sake of
simplicity).
But something is different in this JVM of machine B (for example the
Toolkit, as Thomas was saying). So instead of creating those elements
on the screen, a message is sent over the network.
- Machine A reads the message which says "create a JButton with such
and such properties", so it uses Swing locally to do that (this local
Swing is the normal one).
As you can see, X11 or even Unix/Linux don't even get involved in the
above explanation. As I said, it is totally independent of server and
client OS. ...Imagine it as some special kind of Java client/server
application, which interchanges GUI commands and events instead of
business requests and data.
Regards,
Luis.
|
| |
|
| |
 |
Thomas Weidenfeller

|
Posted: 2005-4-20 0:06:00 |
Top |
java-programmer >> Networked version of Swing (X windows style)?
Luis wrote:
> As you can see, X11 or even Unix/Linux don't even get involved in the
> above explanation. As I said, it is totally independent of server and
> client OS. ...Imagine it as some special kind of Java client/server
> application, which interchanges GUI commands and events instead of
> business requests and data.
Well, now you are adding another layer of problems to your task:
Designing (and implementing) an own robust, fast enough graphics network
protocol. OK. What problem do you want to add next? Encryption?
Presence? There is for sure no shortage in this area. Maybe you want to
concentrate on some fundamental things, like figuring out how AWT/Swing
do paint things at all?
/Thomas
--
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
|
| |
|
| |
 |
Luis

|
Posted: 2005-4-20 0:47:00 |
Top |
java-programmer >> Networked version of Swing (X windows style)?
> Well, now you are adding another layer of problems to your task:
> Designing (and implementing) an own robust, fast enough graphics
network
> protocol. OK. What problem do you want to add next? Encryption?
> Presence? There is for sure no shortage in this area. Maybe you want
to
> concentrate on some fundamental things, like figuring out how
AWT/Swing
> do paint things at all?
Heh heh, I did not say it would be simple... but it would sure be fun!
About encription, Java provides good support for that.
And what do you mean by presence?
Regards,
Luis.
|
| |
|
| |
 |
Andrew Reilly

|
Posted: 2005-4-20 7:38:00 |
Top |
java-programmer >> Networked version of Swing (X windows style)?
On Tue, 19 Apr 2005 08:02:41 -0700, Luis wrote:
> - Machine A reads the message which says "create a JButton with such
> and such properties", so it uses Swing locally to do that (this local
> Swing is the normal one).
>
> As you can see, X11 or even Unix/Linux don't even get involved in the
> above explanation. As I said, it is totally independent of server and
> client OS. ...Imagine it as some special kind of Java client/server
> application, which interchanges GUI commands and events instead of
> business requests and data.
There are a couple of attempts at such a thing in existence, I believe.
They typically go by terms like "ultra thin clients" or so. Not all of
these (none of them?) export the full Swing functionality, of course.
Most of these are intended to present GUIs from within browsers.
Think of what you're asking for as an RPC/RMI interface to the swing
libraries.
I think that what generally happens is that the people who want this sort
of functionality really want to produce a particular application, and find
in the end that it's simpler just to go ahead and build that, rather than
be in the business of supporting a full-featured Swing-remote platform...
In this instance: you have an application that you want the GUI to run in
one place and the "works" to run elsewhere. What is the simpler task:
provide a shim for all of Swing, as you've asked, or cleave your existing
application into GUI front end and "works" back-end, with an
application-specific communication protocol between them? I think that
the latter is most likely the easiest, highest-performance option, and is
(IMO) what the Java designers intended.
Cheers,
--
Andrew
|
| |
|
| |
 |
Nigel Wade

|
Posted: 2005-4-20 16:52:00 |
Top |
java-programmer >> Networked version of Swing (X windows style)?
Luis wrote:
>> If you don't install X11 on a UNIX/Linux system, what graphical
> display do
>> you intend to use? Or, are you proposing to write graphics drivers
> for each
>> UNIX/Linux/graphics card? That would be fun.
>
> No, no, I think I did not explain myself.
> To give a simple example:
>
> - Machine A is the one the user is sitting at. In X Windows, I think
> this is the Window server.
> - Machine B is the one that executes the Java Swing program which will
> get displayed at machine B.
>
> - A JVM in machine B is started. It runs a normal Swing program which
> at a given moment will create a JButton (in a JPanel in a JFrame, and
> other objects are involved which we don't mention for the sake of
> simplicity).
> But something is different in this JVM of machine B (for example the
> Toolkit, as Thomas was saying). So instead of creating those elements
> on the screen, a message is sent over the network.
>
> - Machine A reads the message which says "create a JButton with such
> and such properties", so it uses Swing locally to do that (this local
> Swing is the normal one).
>
> As you can see, X11 or even Unix/Linux don't even get involved in the
> above explanation. As I said, it is totally independent of server and
> client OS. ...Imagine it as some special kind of Java client/server
> application, which interchanges GUI commands and events instead of
> business requests and data.
>
> Regards,
>
> Luis.
Yes, that's all very nice, but you've missed one very, very vital step.
What, on machine A, will create the JButton, display it and handle user
interaction with it? Normally that would be X11. But you are not installing
X11 so you need to provide some replacement. This will need to be platform
indepenent in its API, but will need to be able to drive whatever graphics
hardware is installed in machine A, and react to keyboard and mouse events.
How do propose to do that?
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : email***@***.com
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
|
| |
|
| |
 |
Remi Bastide

|
Posted: 2005-4-20 17:35:00 |
Top |
java-programmer >> Networked version of Swing (X windows style)?
Thomas Weidenfeller <email***@***.com> wrote:
>Luis wrote:
>> As you can see, X11 or even Unix/Linux don't even get involved in the
>> above explanation. As I said, it is totally independent of server and
>> client OS. ...Imagine it as some special kind of Java client/server
>> application, which interchanges GUI commands and events instead of
>> business requests and data.
>
>Well, now you are adding another layer of problems to your task:
>Designing (and implementing) an own robust, fast enough graphics network
>protocol. OK. What problem do you want to add next? Encryption?
>Presence? There is for sure no shortage in this area. Maybe you want to
>concentrate on some fundamental things, like figuring out how AWT/Swing
>do paint things at all?
>
>/Thomas
There once was a "remote awt" at IBM alphaworks, but it has been
retired, see:
http://www.alphaworks.ibm.com/tech/remoteawtforjava
Maybe something like XTT is what you are looking for:
http://www.insitechinc.com/
|
| |
|
| |
 |
Luis

|
Posted: 2005-4-20 23:39:00 |
Top |
java-programmer >> Networked version of Swing (X windows style)?
> There once was a "remote awt" at IBM alphaworks, but it has been
> retired, see:
> http://www.alphaworks.ibm.com/璽ech/remoteawtforjava
Yes, that is exactly what I mean. As its description says:
"An implementation of AWT for Java that allows Java applications to run
unchanged in a client/server mode"
I was proposing exactly the same, only with Swing support too. The
"Remote AWT" product was posted as early as 1998!
I still see a lot of advantages compared to writing specific
client-server applications, which of course is much more complex than a
pure local client application.
|
| |
|
| |
 |
Luis

|
Posted: 2005-4-20 23:46:00 |
Top |
java-programmer >> Networked version of Swing (X windows style)?
> Yes, that's all very nice, but you've missed one very, very vital
step.
> What, on machine A, will create the JButton, display it and handle
user
> interaction with it? Normally that would be X11. But you are not
installing
> X11 so you need to provide some replacement. This will need to be
platform
> indepenent in its API, but will need to be able to drive whatever
graphics
> hardware is installed in machine A, and react to keyboard and mouse
events.
> How do propose to do that?
Well, I propose to do it exactly like X11 does it, but without X11.
So yes, it is complex, I was not thinking of 2 or 3 classes.
And about:
> but will need to be able to drive whatever graphics
> hardware is installed in machine A, and react to keyboard and mouse
events.
Well, that is exactly what Java and Swing do, isn't it? So we don't
have to care about that.
>From the questions you make, I think I still did not explain myself
clearly enough... I am just suggesting a pure Java *replacement* of X11
or Windows Terminal Server, but only for Java programs, of course. If
those products can do it at the OS level, then Java can do it at the
Java level. It's just a matter of proxying and messaging!!
Regards,
Luis.
|
| |
|
| |
 |
zn魊t

|
Posted: 2005-4-21 3:45:00 |
Top |
java-programmer >> Networked version of Swing (X windows style)?
"Luis" <email***@***.com> mi? 20 abr 2005 15:38:32 GMT
(news:email***@***.com)
(comp.lang.java.gui)
> I still see a lot of advantages compared to writing
> specific client-server applications, which of course is
> much more complex than a pure local client application.
What you are suggesting could indeed be useful, but it never could be a
replacemente for c/s. When using "remote terminals" (which is what you
are asking for), the whole processing load (even gui event handling!) goes
to the server. This is not reasonable with rich clients, that's what thin
clients are for. A "remote terminal" IS a thin client, but it is of no use
where c/s approach is required.
Choosing c/s is not a matter of complexity, it's an architectural decision
that favours tier separation, band-width optimization, load balancing and
perhaps security issues. A c/s approach is not necesarily more complex
than a non-c/s one, it just has different strengths and weaknesses (for the
most part far more strengths and less weaknesses than remote
terminals, but then, again, this varies with requirements :-D)
And as a first guess, I wouldn't say Swing is particularly well suited for
this. Swing is pretty high-level, whereas what's involved in remote
terminals is purely low-level (just primitive event exchange). With that
approach, I bet you are far better of "running Swing in terminal emulation"
(letting the platform -os- handle low-level events) than "squeezing terminal
emulation into Swing". Why not just coding a local single-tier app and
running it through X11, TS, etc? Java is platform independent, not a
platform replacement.
regards
zn魊t
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- Tomcat - Invalid Direct Reference To Login Page ( Workaround help )Hi,
I'm really happy that the "Invalid Direct Reference To Login Page" has
finally been fixed. However I am stuck using Tomcat 4.0.x ( and I
cannot recompile the app-server as it is a managed resource ) , and
the requirement to have a login box included in each page via a panel
is still there.
I've been looking for a workaround. According to the FormAuthenicator
Tomcat code, if the requestURI in the request is NULL, then the
"Invalid Direct Reference To Login Page" error is thrown.
I've written a proxy servlet called LoginProxy. Its job was to alter
the requestURI in the request object before posting to the
j_security_check target.
My login form would post to something like:
LoginProxy?j_username=my&j_password=test&j_forward_uri=/index.jsp
Great, apart from one small problem - HttpServletRequest is READ ONLY.
Damn. I had a look at the actual class heirarchy, and found that
HttpServletRequestFacade was the class that implemented
HttpServletRequest for Tomcat ( I am prepared write Tomcat specific
code, as long as it doesn't involve changing Tomcat itself. ).
HttpServletRequestFacade extends HttpServletRequestImpl, which
implements HttpRequest. HttpRequest does have write access, however
the code:
( ( HttpRequest ) a_Request ).setRequestURI( sForward )
gives a ClassCastException.
My other thought, was - if I just do a sendRedirect ( I was using
forward before ), won't the requestURI be the url of the LoginConfig
servlet.... I could cope with tomcat forwarding me back to the
servlet, I'd just have to add some extra logic. Alas, the request
still retains the null indicating to requestURI.
Can someone tell me how I can modify the request object, or even
create a new one?
Thanks
Ben
- 2
- subclass DeflaterOutputStream just to get bytes written?I am using a deflater output stream, GZIPOutputStream specifically. I
need to know the number of bytes written out by the stream. Obviously
this is not the same number as the number of bytes I have given the
stream. It looks like the only way to get this information is through
the 'def' field, calling getBytesWritten(), or getTotalOut(), depending
on whether I want a long or an int. The problem is that the 'def' field
is protected. So to get this information, I have to subclass
GZIPOutputstream.
Surely, it is fairly common to need this information. Is this a design
flaw, or am I just too stupid to see an easier way to get this information?
Thanks,
~Shea M.
- 3
- the iPhone Widget List!wow, already many apps / widgets for the iPhone and the thing doesn't
ship for 55ish hours! expect 1000's of these in a few months... they
really make apps on any other mobile phone obsolete!
http://www.iphonewidgetlist.com/
Those guys are sooooo screwed!
Learn how to make them fast, here:
http://webkit.org/blog/?p=87
Check the left side for the tools...
-
- 4
- java long in an Access databaseHi,
Perhaps this is more of an Access question. I'm discovering that
Access' "Long Integer" cannot store a java Long. So I'm resorting to
string the numbers as strings. I'm I doing the right thing (other than
using Access :) ) or missing someting?
Many thanks in advance!
Aaron Fude
- 5
- Designing presentation-tier for occasionally connected applications.Folks
We are in the process of developing a web-based app that needs to be
functional when the user is on the road where the Internet connection
to the server is not available. There are 3 basic requirements:
1. Must be web-based, not a fat client app.
2. The UI for the offline mode and on-line should be identical.
3. In the off-line mode some basic functionality to enter data (fill
forms) should be available, that do not need to be reentered when the
connectivity is available.
Can some one think of a solution on how one would design this app. To
me disconnect from the network mean no web application, but some one
here insisted that we can put a web-server/appserver on each client
machine (about 200 of these).
Swing based solutions are ruled out because that is not a web-based
architecture.
Any ideas?
Thanks in advance.
Vijay
- 6
- cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com )cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
cheap jeans,jersey ( paypal accept ) ( www.world-wholesaler.com
)
- 7
- Strange problem with Bluetooth and RFCOMMHi,
I have programmed an application that sends data from a PC to a mobile
phone. This application uses the Bluecove library and a RFCOMM
connection.
When I establish a connection between these two devices and send from
the server (PC) a float number (e.g. 3.12) to the client (mobile
phone), the number is displayed correctly and everything is fine. But
when I want to send 20 float values the following reaches the phone:
3.12
3.12
3.12
3.1199999,
-2.12422343E14
9.707659E-27
9.707659E-27
...
0.0
0.0
...
0.0
These values are changing when sending them multiple times. Sometimes
there are more correct numbers (3.12), sometimes less. And sometimes
the mobile application just crashes without an error.
Probably the reason for that is the data which is not transferred
properly. I tested different ways to transfer the data, e.g. partioning
the data into smaller packets or using DataOutputStream but nothing was
a success.
Snippets of one of my source codes:
/* SERVER */
OutputStream out = null;
ByteArrayOutputStream baos = new ByteArrayOutputStream();
DataOutputStream dos = new DataOutputStream(baos);
for (int i = 0; i < 20; i++) {
float f = 3.12f;
dos.writeFloat(f);
}
byte[] rawData = baos.toByteArray();
dos.close();
baos.close();
out = connection.openOutputStream();
out.write(rawData.length >> 8);
out.write(rawData.length & 0xff);
out.write(rawData);
out.flush();
out.close();
connection.close();
/*CLIENT*/
in = connection.openInputStream();
int length = in.read() << 8;
length |= in.read();
byte[] data = new byte[length];
length = 0;
while (length != data.length) {
int n = in.read(data, length, data.length - length);
if (n == -1) {
throw new IOException("Can't read data");
}
length += n;
}
ByteArrayInputStream bais = new ByteArrayInputStream(data);
DataInputStream dis = new DataInputStream(bais);
for (int i = 0; i < 20; i++) {
Log.out(dis.readFloat() + " ");
}
Has anyone an idea how to solve this problem?
Peter Vermeer
- 8
- Can you write to a file from a vector??How do I write to a file (using a FileWriter) from a filled vector??
I.E. Why can't I do this??
for (i = 0; i < myVector.size(); i++){
myWriter.write(myVector.elementAt(i));
myWriter.flush();
myWriter.close();
}
Thanks,
Steve
- 9
- delete all jvm'sI think I have a corrupt JVM on my machine. I would like to delete all
JVM's and just install the sun JVM. Could anyone tell me how to delete
all JVM's.
Aidy
- 10
- How to build a class w/ return value?I apologize for a newbie question, but I'm just starting with Java.
I'm trying to write a program which includes a class for checking if a
given text field has a value.
My basic logic would run something like:
A button is pressed
On that event, check if a text field has a value
if it does, return true, else return false.
So, I want to say in the action listener event for that button something
like:
if ( checkValue( txtFieldName ) == true)
do something
else
do something else
I'd then have a public funciton for checking the value
public checkValue( String txtFieldName )
{
if ( txtFieldName == "" )
return false;
else
return true;
}
This keeps giving me an error that a return code is needed for a public
class. If i put void in the class, I can run it but then nothing gets
returned.
Now, a bit of background - I've been doing VB for 12 years, so maybe my
thinking is flawed. If so, is there another way of going about this? I've
googled for the past hour and am very frustrated.
--
kai - email***@***.com - www.perfectreign.com
kai:/> format a:
Error: The DOS concept of formatting disk media is screwed.
To format a floppy, use "fdformat /dev/fd0"
and then "mkfs.minix /dev/fd0".
- 11
- Parallel PortHello,
I want to drive a device using the parallel port data output.
I want to use preferably an applet to do that. Is that possible?
I heard that javax.comm is not very reliable, does anyone have experience
with it?
thanks,
anwar
- 12
- JSP and response object sizeIs there any way to know the size of a JSP (amount of bytes sent in the
response object)?
We need to know the size of the generated JSP when they are sent to the
client. I can only ask for the buffer size... but no the real amount of
bytes sent in the response object.
Any idea???
Thanks in advance
- 13
- Add a computer language to NetbeansHello
This may be a simple question. I searched in Google but I think I am
using inapropiate words for the query and I don't get what I want.
How can I add a syntax highlight for a new language, in my case X3D,
to Netbeans?
Any general tutorial?
Thanks
Jordi
Note: Does someone already have done this with VRML or X3D?
- 14
- Thread.sleep(10000)Is that true Thread.sleep(10000) will make current thread to sleep for
10 seconds?
I cannot use Thread.currentThread().sleep(10000) since sleep is a
static method of Thread. Right? Thread.currentThread() will return a
reference to the currently executing thread object.
- 15
- Switching Locale intermittent geometry position bugHi,
I'm working on a 3D visualization of the Mars Exploration Rover
Mission.
Please refer to my webpage:
http://home.comcast.net/~meralizer/
Everything appears to be working well, except I'm still haunted with
what appears to be a Locale/HiResCoord bug.
What makes it more difficult to debug is that it's intermittent!
Sometimes when I switch to a Locale, geometry in the scene/heirarchy
jumps to the wrong position and orientation. However, when I switch to
another Locale and back again, this "fixes" the problem.
So it appears that some information in the transformation heirarchy is
temporarily corrupted. Then when I toggle the Locales, it's is
restored/updated/recalculated to the correct values.
I'm trying to finish this project, but this one remaining bug is
driving me nuts.I'm getting the same bug on two different platforms,
so it's not a platform/grapics card-specific bug.
Any ideas?
thanks
|
|
|