473,394 Members | 1,702 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,394 software developers and data experts.

help with "goto(x,y)" in java...

Hi :
i want an emergent help,I want to know if there is a function in
Java Programming which act the same as function "goto(x,y) " in C Programming!!!
( Hint: goto(x,y) ,takes to parameters X and Y which are coordinates of cursor, and put the cursor in that coordinates in the (output) screen! X for longitude and Y for latitude.)
Jan 19 '08 #1
10 5064
JosAH
11,448 Expert 8TB
Have a look at the jcurses library.

kind regards,

Jos
Jan 19 '08 #2
BigDaddyLH
1,216 Expert 1GB
What kind of user-interface are we talking about? Console, Swing, AWT, SWT, web application, J2ME, etc...

Please be clearer.
Jan 20 '08 #3
oh, sorry!
I work with JCreatorLE (V3)...!
Jan 20 '08 #4
JosAH
11,448 Expert 8TB
oh, sorry!
I work with JCreatorLE (V3)...!
That's not what BigDaddyLH meant: he wanted to know if your Java application
should control the character based console or an AWT/SWT/Swing graphics area.

kind regards,

Jos
Jan 20 '08 #5
That's not what BigDaddyLH meant: he wanted to know if your Java application
should control the character based console or an AWT/SWT/Swing graphics area.
Jos
I hope get what you meant corretly, this time....!
yes, it should control character based console!

thanks.
Jan 20 '08 #6
JosAH
11,448 Expert 8TB
I hope get what you meant corretly, this time....!
yes, it should control character based console!

thanks.
Well then, read my first reply again.

kind regards,

Jos
Jan 20 '08 #7
well you mean i have to download JCurses library?,i need this fucction to write a project and what if my professor didn't have this library...? my project will run wrongly on his pc?
isn't any other way? there is no such function in J2SE?

best regards.
Jan 20 '08 #8
BigDaddyLH
1,216 Expert 1GB
well you mean i have to download JCurses library?,i need this fucction to write a project and what if my professor didn't have this library...? my project will run wrongly on his pc?
isn't any other way? there is no such function in J2SE?

best regards.
Jos and I are on the same page now. No, there is no cursor control library for console-based apps in the Java SE.

What were you planning to hand to your professor? Individual .class files, and other data files? What a mess! Your application can be made up of an executable jar plus other jar files (your own libraries and other, third-party libraries, like JCurses). For convenience you could include a BAT file that launches the application plus a README.TXT file that tells the reader what I am telling you. All of this could be zipped into a single ZIP file for convenience. The recipient unzips and takes it from there.

Here is a tutorial on deploying applications using jars.

http://java.sun.com/docs/books/tutor...jar/index.html
Jan 21 '08 #9
well i do what my professor want me to do!!
any way thaks alot for your help.
best regards..
Jan 21 '08 #10
BigDaddyLH
1,216 Expert 1GB
well i do what my professor want me to do!!
any way thaks alot for your help.
best regards..
I would be happy for a student to send me a zipped application (including source code, of course).

What does your professor want you to do instead?

Does he want you to use JCurses?
Jan 21 '08 #11

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

Similar topics

17
by: Mike Hofer | last post by:
While I'd toyed with C, C++, and Java over the last 20 years or so, my principal language has been BASIC, QBASIC, then Visual Basic, and finally Visual Basic .NET. But lately, I've been using C#...
77
by: M.B | last post by:
Guys, Need some of your opinion on an oft beaten track We have an option of using "goto" in C language, but most testbooks (even K&R) advice against use of it. My personal experience was that...
15
by: Frank | last post by:
Before I start, please let's not discuss whether goto is evil or not. For generated code, this can make perfect sense. It would be interesting to know a trick how to get C to do a goto to an...
0
by: DR | last post by:
when i build someone's project, and right click a function "goto definition" is disabled. how to reconfigure a .net project to support "goto definition" when i right click on function calls?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.