473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Counting figures in a Text based Whiteboard using Java RMI ?

I am new to the Java RMI Concept. I am trying to implement the functionality of RMI by using Serialization to create a whiteboard. I want to make a "text based" version of the whiteboard. I have searched google and have only come across graphical whiteboards using RMI which are far to complex for what I am trying to accomplish. If anybody can show me an example or point me in the right direction...your help will be greatly appreciated.

What I am trying to implement.....Lets say there are figures (circle, square).
Using Java RMI I want the client show:

What type of figure has been listed previously:
(for example the output maybe like:

Client1> Circle, XCord, YCord, Count (4), Total (7)
Clien2> Square, XCord, YCord, Count(1) Total (1)

Client# -- The client connected
Circle/Square -- Shape of the drawing.
XCord, YCord -- X&Y Cordinates.
Count (#) -- Count of the specific shape made by the client.
Total (#) -- Total count of the specific shape created by all clients on the whiteboard.
)

The Client can input his selection and specify coordinates

For example:

Client1>C 100, 200
Client2>S 100, 300

Client# -- The client connected
C (Circle)-- Shape of the drawing.
S (Square)-- Shape of the drawing.
100, 200-- X&Y Cordinates.


Can anyone help me?
Nov 12 '07 #1
0 1312

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Robert J. O'Hara | last post by:
For some time I've struggled with the problem of displaying simple captioned figures on webpages in a way that is robust and scalable. I tend to make "boring" (um, I mean "conservatively elegant")...
3
by: Megan | last post by:
hi everybody- i'm having a counting problem i hope you guys and gals could give me some help with. i have a query that retrieves a bevy of information from several different tables. first let...
5
by: Tony Williams | last post by:
I have a table "tblmaintabs" that stores data that is collected from various companies on a quarterly basis in March, June, September and December each year (these dates are stored in a Date/time...
14
by: Dan | last post by:
Is this discouraged?: for line in open(filename): <do something with line> That is, should I do this instead?: fileptr = open(filename) for line in fileptr: <do something with line>
21
by: Grant Edwards | last post by:
I need to be able to generate a PDF report which consists mostly of vector images (which I can generate as encapsulated Postscript, PDF, or SVG). What I need is a way to combine these figures...
10
by: dishal | last post by:
Hi, im having a major problem with printing text on a JFrame. This is a simple whiteboard I'm doing but i just cannot seem to print the text properly. It prints all the alphabets on the same point...
0
by: dishal | last post by:
I have a whiteboard I'm working on at the moment but I have no idea how i should transport the user's input on the canvas to the recipient. Someone suggested using BufferedImage. Can anyone please...
3
by: riaz1983 | last post by:
Hi, In our company we do have two teams working on online tutoring.A team for php and a team for asp.net&c#. ASP.net people uses flash whiteboard which they got from 3rd party adobe. PHP team uses...
0
by: JosAH | last post by:
A Simple Text-Based Menu System Read this this post; there are numerous posts like that: a newbie struggling with some sort of menu implementation. They want nested menus of course and an option...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.