473,581 Members | 2,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

51 New Member
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 5084
JosAH
11,448 Recognized Expert MVP
Have a look at the jcurses library.

kind regards,

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

Please be clearer.
Jan 20 '08 #3
khajeddin
51 New Member
oh, sorry!
I work with JCreatorLE (V3)...!
Jan 20 '08 #4
JosAH
11,448 Recognized Expert MVP
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
khajeddin
51 New Member
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 Recognized Expert MVP
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
khajeddin
51 New Member
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 Recognized Expert Top Contributor
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
khajeddin
51 New Member
well i do what my professor want me to do!!
any way thaks alot for your help.
best regards..
Jan 21 '08 #10

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

Similar topics

17
2300
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# and I absolutely *love* it. It makes me think more about what I'm doing it before I just spew code into the editor. I'm writing better code than...
77
3984
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 goto sometimes makes program some more cleaner and easy to understand and also quite useful (in error handling cases). So why goto is outlawed from...
15
3106
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 address that has been assigned to a variable, i.e. MyLabel: .... address_x = MyLabel; ....
0
1286
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
8310
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7910
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8180
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5681
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5366
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3809
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3832
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2307
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1144
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.