/    Sign up×
Community /Pin to ProfileBookmark

I’m trying to write a program that will display a record where the first three elements of the record are left justified but the fourth one is right justified. I can’t seem to get the last elements right-justified — does anyone know how I would do this??
Thanks!

to post a comment
Java

5 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliApr 21.2005 — your question is not clear enough, are u wondering how to do this in an HTML/webpage or in a Java GUI application
Copy linkTweet thisAlerts:
@kateryan13authorApr 24.2005 — I'm just trying to read from a binary file and display the contents...
Copy linkTweet thisAlerts:
@Khalid_AliApr 24.2005 — [url=http://java.sun.com/docs/books/tutorial/essential/io/filestreams.html]this is the best resource for such question[/url]
Copy linkTweet thisAlerts:
@kateryan13authorApr 24.2005 — I still dont understand how I will get the fourth entry right justified though...!
Copy linkTweet thisAlerts:
@Khalid_AliApr 24.2005 — I still dont understand how I will get the fourth entry right justified though...![/QUOTE]

that makes no sense, you need to explain what exactly is you want todo.

Whats in the file, and how do u want it to display and what is the fourth entry etc...
×

Success!

Help @kateryan13 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...