+ 10
If Java is an object oriented language, then how to create real objects? I mean visual, not represented with letters and numbers
13 ответов
+ 7
It's possible to do everything on your own if your project/application/site/other product is not very big/large for you and for you skills to keep it up alone. It's a little bit strange how you changed subject to something close to web-development. Front-end usualy separated from back-end in web-development (or may be in enterprise size informational products). Desktop applications usually have less design oriented work, so "back-end" or application logic usually supply everything needed to control visual behavior of an app. Graphical designers then just draw "art"/buttons/windows/sprites/so on and coder could implement it in application if not designing visual part himself... (Oh, and it's again not about OOP...)
+ 6
You can try to google for Swing library. I'm not really sure if there are newer tools in modern context for building a GUI. I myself was interested in web-interfaces first so I started to explore Spring framework, which does those tasks very well, but probably a little bit complex to start with it early at beginner's stage.
thenewboston youtube channel has tutorials on building GUI in it's Java tutorial.
+ 5
First: "Object" in OOP has nothing to do with "visual". Objects can be nearly anything you want them to be. And if you want them to be visual output something visual. To make it easier there are libraries to empower your programming. (And libraries can be made/written not only for object oriented languages, but it's the same (not samne libraries... same that they exist too☺) for functional (or procedural?) programming languages for example, there are libraries for different languages. They contain some code to output something, may be window or form, or it could be a 3D object (and again object doesn't mean here that it's an object in your program/code).
+ 5
OK, thank you! Now I need to google a LOT to understand what am I doing and what am I going to do))
+ 4
you can stay by using objects like JFrame.
They are known as Components or JComponents.
You can populate your Form by using JLabel, JPanel, Layout etc.
Or you can use an IDE like Netbeans
+ 3
OK, but how do you give your, say, application written in Java, actual appearance and form of an application? Does it require graphic designer work? then on what basis is it done?
in other words, how to make your work useable by other people?
+ 3
The reason of this question is that I don't understand the functions OOP programme executes. At this stage I imagine it like this:
1. You write your code.
2. Someone else creates design. Photoshop or whatever they might use...
3. Somehow the design is adjusted on top of the code. It seems like really mysterious process.
And yet, maybe I confuse front end / back end developing.
Then the new question arises: is one person able to do both sides?
Can I work on projects on my own to implement my ideas the way I want?
Or it's too much work that one person can't do in reasonable amount of time?
+ 3
If visual object you meant refer to buttons, forms, toolbar etc. I would suggest you to try Netbeans IDE (Integrated Development Environment) that's what I used to learn to design the UI of my app. But I used it only to create desktop apps, not web apps.
Netbeans allows you to design your UI without the hustle of writing your own graphical/visual objects, in fact you only drag & drop stuffs around to do it, then write a few codes to get the controls to respond to user's actions.
Your recent comment however got me thinking that you were actually asking about web UI (you mentioned Photoshop) if this is the case, sorry I have no experience developing Java web app, I use html and php for such things.
Today's trend for web development indeed discipline the separation of UI (designers) and logic (coders). People have many options to choose which they want to use, but most developers nowadays usually employ frameworks to help ease their work. If web development is your target you might consider learning html, JavaScript, php or other server-side scripting language of your choice.
Good luck..
+ 2
Yes, that used Graphical design and a ton of work.
Something like Java want done in 1 day, not even 1 year.
But it's still Amazing
+ 1
Yes, as Andrew mentioned the Object in OOP is actually referring to an Instance of a class that will only be available for a certain amount of time in the program. This makes things easier to read and control
+ 1
if you want to have an immediate graphic output that requires only little programming skills, I would suggest for you to try Processing (processing.org), which is also Java based, so you will be able to use most Java functions as usual, but you have inbuilt functions that make User Input (Mouse and Keyboard, but I guess Touch as well?) and graphic program output (like drawing lines, circles, shape and so on and moving them around) much easier.
However, the easy accesibility of course comes at the price of performance.
0
Please explain double dimension array??
can you explain?
:(yu should better take it as a challenge for every good programme
:)present in sololearn
0
you have print no from 1 to N(N=9)
1,2...N
PUT EITHER + or - between them so that the sum is 0 and solve it by loop write a program
:(yu should better take it as a challenge for every good programme
:)present in sololearn