Firstly, I apologize for how long this question is. I am still a fairly inexperienced member, and I've run into a very odd situation which makes me somewhat confused about what the best actions would be.
I've tried to write this question so anyone can understand it whether they know about the library and language involved. These are JavaFX and Java, respectively.
Essentially, I wrote a duplicate question despite knowing it was probably a duplicate, purely because the other "non-duplicate" question didn't have an answer that I could use.
This is because I don't know how to use the other answers since they utilized aspects of the library that are not part of the language itself, and that I didn't know. These being the library's particular versions of CSS and XML. The only answer that didn't involve those was, in my opinion, incomplete.
I feel it was incomplete because it doesn't produce the requested behavior without additional code.
I actually figured out how to solve my own problem shortly after I posted my question, and I posted an answer to it.
Of course, the person who posted that answer flagged my post as a duplicate. I also flagged my own post, because I thought that's what it was.
Then, I noticed the original question seems not to have the greatest English, so I thought I might earn some points by editing it, and writing my own answer to the question. As mentioned, I feel my own solution was more complete.
I wrote my answer to the original question, but when I started editing the original question, I became unsure the questions were actually duplicates. This is because the asker says, "I know that gridLinesVisible() is for debug purposes only, so i let this beside."
I think what he is saying is "I know the method setGridLinesVisible()
is for debugging purposes only, and so I don't want to use it."
gridLinesVisible() is not an actual method used by the library being asked about, so I changed the name. The method I think he's talking about is used to display the grid lines of a grid that a certain type of object creates. If he is asking about a way to show these grid lines without using setGridLinesVisible()
then it seems like my question might not be a duplicate after all.This is because I basically just asked "How do I show grid lines?".
The incomplete answer I mentioned actually says that, setGridLinesVisible()
is for debugging purposes only. Of course, if the asker wanted a non-debugging way of showing grid lines, then it's not just an incomplete answer, but possibly completely irrelevant.
The accepted answer (not the incomplete one) to the original question, also seems to understand the asker didn't want to use setGridLinesVisible()
.
I haven't edited my question to explain why it might not be a duplicate, because I'm not sure what the original question is asking, and I've already flagged it as a duplicate myself.
I apologize if this is too broad of a question. I know the Help Center says, "Your questions should be reasonably scoped." But, I'm not sure how to narrow it down any more than this.
If I should do anything, what should I do now?
My Question:
GridPane layout debugging lines aren't displayed as expected when calling setGridLinesVisible(true)
Original Question: